Null check operator used on a null value #738
Unanswered
ManasMalla
asked this question in
Q&A
Replies: 2 comments 1 reply
-
It's a Flutter error, not a provider one. This happens when you're using the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Maybe using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The bug: Null check operator used on a null value
The following _CastError was thrown while dispatching notifications for ThemeProvider: Null check operator used on a null value
To Reproduce
theme_provider.dart
main.dart
Expected behavior
The isDarkThemeEnabled boolean value must return the correct value and be applied to the var themeMode in AppTheme class for further changes.
Beta Was this translation helpful? Give feedback.
All reactions