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
-
When using
Get.theme.xxx
as value, it has different behaviour to theTheme.of(context).xxx
.When I use
Theme.of
as value, then I triggerGet.changeTheme()
manually, the page updated normally.But when I use
Get.theme
as value, the page cannot update normally, when the app brightness mode changed.Is this normal?
Beta Was this translation helpful? Give feedback.
All reactions