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 have faced an issue using ResizableWidget with Easy_Localization package.
Easy_Localization trigger widget three to rebuild if the application locale is changed using the context.setLocale method.
However, ResizableWidget prevent rebuild if the width or height (depending on axis direction) is not changed.
This makes the translation fail for widgets inside ResizableWidget.
I have workaround this issue by editing resizable_widget.dart like this:
I know this will cause rebuild children every time the ResizableWidget rebuild and may will make _controller.setSizeIfNeeded(constraints) useless, but this is what I have to do right now.
Another question ... Why does ResizableWidget prevent rebuilding children if the application state is changed, the BoxConstraint is one of the application states on which ResizableWidget depends on, but maybe there is another state that children need.
Activity
[-]Rebuild[/-][+]Rebuild Prevent by ResizableWidget[/+]