Why can't Get.theme trigger view update, when the app brightness mode?
#1385
Unanswered
ShookLyngs
asked this question in
Q&A
Replies: 1 comment
-
|
Yes, this is the expected behavior, if you expect changes you should use Get context extensions, like context.theme. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
When using
Get.theme.xxxas value, it has different behaviour to theTheme.of(context).xxx.When I use
Theme.ofas value, then I triggerGet.changeTheme()manually, the page updated normally.But when I use
Get.themeas value, the page cannot update normally, when the app brightness mode changed.Is this normal?
Beta Was this translation helpful? Give feedback.
All reactions