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 am using .tr(context: context) to change the widget immediately after changing the language.
What I'm curious about here is that if I enter the context parameter, it will be re-rendered when the state changes like setState, so I wonder if there is a waste of resources compared to using the general .tr() function.
The text was updated successfully, but these errors were encountered:
I am using
.tr(context: context)
to change the widget immediately after changing the language.What I'm curious about here is that if I enter the context parameter, it will be re-rendered when the state changes like
setState
, so I wonder if there is a waste of resources compared to using the general.tr()
function.The text was updated successfully, but these errors were encountered: