You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have issues getting the example running, it looks like
_mapTheme(BuildContext context) {
// maps are rendered using themes
// to provide a dark theme do something like this:
// if (MediaQuery.of(context).platformBrightness == Brightness.dark) return myDarkTheme();
return ProvidedThemes.lightTheme();
}
doesn't return a correct Theme, as the code throws this:
[VERBOSE-2:shell.cc(103)] Dart Unhandled Exception: NoSuchMethodError: The getter 'id' was called on null.
Receiver: null
Can you give add myDarkTheme() to the example ?
The text was updated successfully, but these errors were encountered:
@paetzold thanks for the issue. Can you provide more detail as to the failure? ie. have you changed the code at all? When I run it from here it works fine so I'd like to understand more about the failure you're experiencing.
I have issues getting the example running, it looks like
_mapTheme(BuildContext context) {
// maps are rendered using themes
// to provide a dark theme do something like this:
// if (MediaQuery.of(context).platformBrightness == Brightness.dark) return myDarkTheme();
return ProvidedThemes.lightTheme();
}
doesn't return a correct Theme, as the code throws this:
[VERBOSE-2:shell.cc(103)] Dart Unhandled Exception: NoSuchMethodError: The getter 'id' was called on null.
Receiver: null
Can you give add myDarkTheme() to the example ?
The text was updated successfully, but these errors were encountered: