Arkadaşlar merhaba ben bir kod yazıyordum. Uzun zamandır yazdığım koda bakmadım. Programım önceden çalışıyordu am şimdi çalışmıyor aldığım hatayı buraya yapıştırıyorum lütfen yardımcı olun.
Launching lib\main.dart on sdk gphone x86 in debug mode…
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Invalid depfile: F:\Flutter\kelimebulma.dart_tool\flutter_build\aed838d82eea9f20552557ba17dd8912\kernel_snapshot.d
Invalid depfile: F:\Flutter\kelimebulma.dart_tool\flutter_build\aed838d82eea9f20552557ba17dd8912\kernel_snapshot.d
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:9:8: Error: Not found: ‘dart:html’
import ‘dart:html’;
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:10:8: Error: Not found: ‘dart:js’
import ‘dart:js’;
^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:13:8: Error: Not found: ‘dart:html’
import ‘dart:html’ as html;
^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:6:8: Error: Not found: ‘dart:html’
import ‘dart:html’ as html;
^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:5:8: Error: Not found: ‘dart:html’
import ‘dart:html’;
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/js.dart:8:1: Error: Not found: ‘dart:js’
export ‘dart:js’ show allowInterop, allowInteropCaptureThis;
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/js_util.dart:8:1: Error: Not found: ‘dart:js_util’
export ‘dart:js_util’;
^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:79:48: Error: Type ‘html.EventListener’ not found.
external ui.VoidCallback addPopStateListener(html.EventListener fn);
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:194:3: Error: Type ‘html.Location’ not found.
html.Location get _location => html.window.location;
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:196:3: Error: Type ‘html.History’ not found.
html.History get _history => html.window.history;
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:199:28: Error: Type ‘html.EventListener’ not found.
void addPopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:204:31: Error: Type ‘html.EventListener’ not found.
void removePopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:7:7: Error: Type ‘AnchorElement’ not found.
final AnchorElement _urlParsingNode = AnchorElement();
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:20:7: Error: Type ‘Element’ not found.
final Element? _baseElement = document.querySelector(‘base’);
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:46:15: Error: Method not found: ‘getProperty’.
if (js_util.getProperty(e, ‘name’) == ‘FirebaseError’) {
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:47:20: Error: Method not found: ‘getProperty’.
return js_util.getProperty(e, ‘code’) ?? '';
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:59:15: Error: Method not found: ‘getProperty’.
if (js_util.getProperty(e, ‘name’) == ‘FirebaseError’) {
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:60:30: Error: Method not found: ‘getProperty’.
String rawCode = js_util.getProperty(e, 'code');
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart:62:30: Error: Method not found: ‘getProperty’.
String message = js_util.getProperty(e, ‘message’) ?? '';
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:36:12: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
return context[‘require’] != null;
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:45:12: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
return context[‘flutterfire_web_sdk_version’] ??
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:61:7: Error: ‘JsObject’ isn’t a type.
JsObject ignored =
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:62:11: Error: The getter ‘JsObject’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JsObject’.
JsObject.fromBrowserObject(context[‘flutterfire_ignore_scripts’]);
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:62:38: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
JsObject.fromBrowserObject(context[‘flutterfire_ignore_scripts’]);
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:79:5: Error: ‘ScriptElement’ isn’t a type.
ScriptElement script = ScriptElement();
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:79:28: Error: The method ‘ScriptElement’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘ScriptElement’.
ScriptElement script = ScriptElement();
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:83:12: Error: The getter ‘document’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘document’.
assert(document.head ≠ null);
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:84:5: Error: The getter ‘document’ isn’t defined for the class ‘FirebaseCoreWeb’.
- ‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘document’.
document.head!.append(script);
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:93:9: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
if (context[‘firebase’] != null) {
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:134:5: Error: ‘JsObject’ isn’t a type.
JsObject require = JsObject.fromBrowserObject(context[‘require’]);
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:126:9: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
if (context[‘firebase’] != null) {
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:134:24: Error: The getter ‘JsObject’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JsObject’.
JsObject require = JsObject.fromBrowserObject(context[‘require’]);
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:134:51: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
JsObject require = JsObject.fromBrowserObject(context[‘require’]);
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:136:7: Error: The getter ‘JsObject’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JsObject’.
JsObject.jsify({
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:175:5: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
context.callMethod(‘require’, [
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:176:7: Error: The getter ‘JsObject’ isn’t defined for the class ‘FirebaseCoreWeb’.
- ‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JsObject’.
JsObject.jsify(services),
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/firebase_core_web.dart:178:9: Error: The getter ‘context’ isn’t defined for the class ‘FirebaseCoreWeb’.
- ‘FirebaseCoreWeb’ is from ‘package:firebase_core_web/firebase_core_web.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/firebase_core_web.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘context’.
context[‘firebase’] = app;
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:66:23: Error: The method ‘allowInterop’ isn’t defined for the class ‘Firestore’.
- ‘Firestore’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
var nextWrapper = allowInterop((Object? noValue) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:91:30: Error: The method ‘allowInterop’ isn’t defined for the class ‘Firestore’.
- ‘Firestore’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
var updateFunctionWrap = allowInterop((transaction) =>
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:154:11: Error: The method ‘allowInterop’ isn’t defined for the class ‘LoadBundleTask’.
- ‘LoadBundleTask’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
allowInterop((firestore_interop.LoadBundleTaskProgressJsImpl data) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:164:21: Error: The method ‘allowInterop’ isn’t defined for the class ‘LoadBundleTask’.
- ‘LoadBundleTask’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
jsObject.then(allowInterop((value) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:166:11: Error: The method ‘allowInterop’ isn’t defined for the class ‘LoadBundleTask’.
- ‘LoadBundleTask’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
}), allowInterop((error) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:297:9: Error: The method ‘allowInterop’ isn’t defined for the class ‘DocumentReference’.
- ‘DocumentReference’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
allowInterop((firestore_interop.DocumentSnapshotJsImpl snapshot) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:301:26: Error: The method ‘allowInterop’ isn’t defined for the class ‘DocumentReference’.
‘DocumentReference’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
final errorWrapper = allowInterop((e) => controller.addError(e));
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:373:9: Error: The method ‘allowInterop’ isn’t defined for the class ‘Query<T>’.
‘Query’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
allowInterop((firestore_interop.QuerySnapshotJsImpl snapshot) {
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:376:26: Error: The method ‘allowInterop’ isn’t defined for the class ‘Query<T>’.
- ‘Query’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
final errorWrapper = allowInterop((e) => controller.addError(e));
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart:568:9: Error: The method ‘allowInterop’ isn’t defined for the class ‘QuerySnapshot’.
- ‘QuerySnapshot’ is from ‘package:cloud_firestore_web/src/interop/firestore.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/firestore.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘allowInterop’.
allowInterop((s) => callback(DocumentSnapshot.getInstance(s)));
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/utils/decode_utility.dart:34:14: Error: Method not found: ‘instanceof’.
if (util.instanceof(value, GeoPointConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/utils/decode_utility.dart:38:21: Error: Method not found: ‘instanceof’.
} else if (util.instanceof(value, BlobConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/js_interop.dart:25:12: Error: Method not found: ‘hasProperty’.
if (util.hasProperty(jsObject, ‘toDateString’)) {
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:45:31: Error: Method not found: ‘getProperty’.
map[key] = dartify(util.getProperty(jsObject, key), customDartify);
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:78:22: Error: Method not found: ‘newObject’.
var jsMap = util.newObject();
^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:80:12: Error: Method not found: ‘setProperty’.
util.setProperty(jsMap, key, jsify(value, customJsify));
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:86:12: Error: Method not found: ‘allowInterop’.
return allowInterop(dartObject);
^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:100:10: Error: Method not found: ‘callMethod’.
util.callMethod(jsObject, method, args);
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:113:15: Error: Method not found: ‘promiseToFuture’.
return util.promiseToFuture(thenable);
^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.4/lib/src/interop/utils/utils.dart:121:27: Error: Method not found: ‘allowInterop’.
return PromiseJsImpl<S>(allowInterop((
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:48:14: Error: Method not found: ‘allowInterop’.
getPath: allowInterop(strategy.getPath),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:49:15: Error: Method not found: ‘allowInterop’.
getState: allowInterop(strategy.getState),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:50:26: Error: Method not found: ‘allowInterop’.
addPopStateListener: allowInterop(strategy.addPopStateListener),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:51:25: Error: Method not found: ‘allowInterop’.
prepareExternalUrl: allowInterop(strategy.prepareExternalUrl),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:52:16: Error: Method not found: ‘allowInterop’.
pushState: allowInterop(strategy.pushState),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:53:19: Error: Method not found: ‘allowInterop’.
replaceState: allowInterop(strategy.replaceState),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:54:9: Error: Method not found: ‘allowInterop’.
go: allowInterop(strategy.go),
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:79:53: Error: ‘EventListener’ isn’t a type.
external ui.VoidCallback addPopStateListener(html.EventListener fn);
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:194:39: Error: Undefined name ‘window’.
html.Location get _location => html.window.location;
^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:196:37: Error: Undefined name ‘window’.
html.History get _history => html.window.history;
^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:199:33: Error: ‘EventListener’ isn’t a type.
void addPopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:200:10: Error: Undefined name ‘window’.
html.window.addEventListener(‘popstate’, fn);
^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:204:36: Error: ‘EventListener’ isn’t a type.
void removePopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:205:10: Error: Undefined name ‘window’.
html.window.removeEventListener(‘popstate’, fn);
^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:7:7: Error: ‘AnchorElement’ isn’t a type.
final AnchorElement _urlParsingNode = AnchorElement();
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:7:39: Error: Method not found: ‘AnchorElement’.
final AnchorElement _urlParsingNode = AnchorElement();
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:20:7: Error: ‘Element’ isn’t a type.
final Element? _baseElement = document.querySelector(‘base’);
^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:20:31: Error: Undefined name ‘document’.
final Element? _baseElement = document.querySelector(‘base’);
^^^^^^^^
/C:/src/flutter/packages/flutter_web_plugins/lib/src/plugin_registry.dart:66:8: Error: Method not found: ‘webOnlySetPluginHandler’.
ui.webOnlySetPluginHandler(handleFrameworkMessage);
^^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/utils/utils.dart:19:14: Error: Method not found: ‘instanceof’.
if (util.instanceof(object, DocumentReferenceJsConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/utils/utils.dart:22:14: Error: Method not found: ‘instanceof’.
if (util.instanceof(object, GeoPointConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/utils/utils.dart:25:14: Error: Method not found: ‘instanceof’.
if (util.instanceof(object, TimestampJsConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/utils/utils.dart:29:14: Error: Method not found: ‘instanceof’.
if (util.instanceof(object, BlobConstructor)) {
^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.16/lib/src/interop/utils/utils.dart:65:14: Error: Method not found: ‘allowInterop’.
return allowInterop(object);
^^^^^^^^^^^^
Unhandled exception:
FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7)
#1 asFileUri (package:vm/kernel_front_end.dart:623:37)
#2 writeDepfile (package:vm/kernel_front_end.dart:763:21)
<asynchronous suspension>
#3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:586:9)
<asynchronous suspension>
#4 starter (package:flutter_frontend_server/server.dart:85:12)
<asynchronous suspension>
#5 main (file:///C:/b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)
<asynchronous suspension>
FAILURE: Build failed with an exception.
Process ’command ‘C:\src\flutter\bin\flutter.bat’' finished with non-zero exit value 1
Run with –stacktrace option to get the stack trace.
Run with –info or –debug option to get more log output.
Run with –scan to get full insights.
BU�LD FAILED in 16s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)