Flutter_dismissible_page
Flutter_dismissible_page copied to clipboard
Avoid RenderFlex overflow
Is there a way to avoid renderflex overflow when opening a route? I notice some warnings when the transition to open the route happens
Hey @simplenotezy, I suppose you are using Hero, which exact widget is overflowing?
One option is to configure flightShuttleBuilder parameter, and return the widget you want but without the problematic widget.
return Hero(
tag: 'settings',
flightShuttleBuilder: (
flightContext,
animation,
direction,
fromContext,
toContext,
) => // return custom widget
);
Thanks for the reply Tkko. I'll play around with that