easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

Performance difference between tr() and tr(context:context)

Open cyb9701 opened this issue 2 years ago • 1 comments

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.

cyb9701 avatar Nov 29 '23 05:11 cyb9701

Any updates on this?

cl0v avatar Feb 27 '25 13:02 cl0v