-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
key [description] not found #351
Comments
|
|
@SebastianKumor try set flag |
@Overman775 I tried, if you check the code I posted the flag is set there. Is there some other place it should be set as well? |
@SebastianKumor hhmm... web try clean cache. May be this bug #303 |
@Overman775 i will try that thanks :) |
|
@Misikir I have that there and no change |
@aissat Plz give a solution to this issue. Having this issue after upgrading null safety version(3.0.0) |
@Overman775 @aissat I wrapped my app in another widget as mentioned in #349 but I still get
and here is the home class
I still get this in the debug console
|
@SebastianKumor this code look dirty... try use one MaterialApp class MyApp extends StatelessWidget {
// This widget is the root of your application.
final Future<FirebaseApp> _initialization = Firebase.initializeApp();
@override
Widget build(BuildContext context) {
return MaterialApp(
localizationsDelegates: context.localizationDelegates,
supportedLocales: context.supportedLocales,
locale: context.locale,
title: 'Aerone',
theme: ThemeData(fontFamily: 'MetropolisRegular'),
home: FutureBuilder(
future: _initialization,
builder: (context, snapshot) {
// Check for errors
if (snapshot.hasError) {
return MyPlaceholder();
}
// Once complete, show your application
if (snapshot.connectionState == ConnectionState.done) {
return Home();
}
// Otherwise, show something whilst waiting for initialization to complete
return MyPlaceholderError();
},
),
);
}
}
|
@Overman775 you were right, that fixed the problem. I will close this issue now |
This is my main, i am running this for web only
I get
and my folder structure is like so
my json file looks like this
Any idea what am I doing wrong ? The example app is using some generated file but mine did not generate anything.
The text was updated successfully, but these errors were encountered: