16.2%
38.4%
2.2%
37.8%
-11.6%
37.5%
97.4%
9.3%
-11.4%
100%
14.1%
100%
100%
33%
14.2%
-48.2%
-46.7%
-11.6%
-82.9%
-84.4%
http://localhost:8080
which didn’t work. So I’ve tried the suggestion setting to 10.0.2.2
but this only works for Android. For iOS what worked is using 127.0.0.1
. Is there a way to have a common URL for both running emulators or am default to use my machine network IP? Am just a little bit concerned that I’ll be updating that URL here and then since my IP are set to by dynamic on my hotspot (so no static mapping).
flutter/material.dart
. Now, I noticed that StatelessWidget
is also imported from this package. Is it intentional? I mean, the StatelessWidget
is not a UI widget, certainly not a material widget. Does not make any sense (for me, and my experience is limited, so very possibly I am wrong) that a system-level class is exported from material
and not something generic. Is there reasoning behind this?
hey guys!
Please give me some advice in situation… I’m trying to build and deploy site to firebase hosting. but getting this error: Uncaught Exception: webOnlyScheduleFrameCallback must be initialized first.
My main.dart looks like this:
import 'package:firebase/firebase.dart' as fb;
import 'package:flutter_web_ui/ui.dart' as ui;
import 'package:mc_web_app/main.dart' as app;
main() async {
try {
fb.initializeApp(
apiKey: "AAA",
authDomain: "-f206c.firebaseapp.com",
databaseURL: "https://-f206c.firebaseio.com",
projectId: "-f206c",
storageBucket: "-f206c.appspot.com",
messagingSenderId: "77",
appId: "1:66:web:00",
measurementId: "G-B"
);
await ui.webOnlyInitializePlatform();
app.main();
} on fb.FirebaseJsNotLoadedException catch (e) {
print(e);
}
}
how can I handle this error? Thank you!