keepAlive: true causes the value provided to be nullable #3834
-
When
|
Beta Was this translation helpful? Give feedback.
Answered by
AhmedLSayed9
Nov 16, 2024
Replies: 2 comments 1 reply
-
It can't be |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BenjiFarquhar
-
@AhmedLSayed9 You're right, it was stale 😅 Thank you |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It can't be
ThemeMode?
as your state isThemeMode
. Maybe you're using stale generated code and need to re-run build runner.Also, You should use
ref.watch
at build method.