auto_route_library
auto_route_library copied to clipboard
Make route only takes as much space as its children
Hi there.
In my app i have a bottom sheet, in which i want to put a AutoRouter widget. This bottom sheet should take up just as much space as the content inside it i.e. small child wiget -> small bottom sheet, to show more of the content (maps widget) behind the bottom sheet.
When I use a Navigator widget this works just fine (but I cannot use it for other reasons), however the AutoRouter widget seems to the expand to take up as much space as possible, resulting in the bottom sheet maxing out is vertical size, although the actual child widget being rendered is fairly small. Is there any option/workaround, to prevent the AutoRouter from expanding like this ?
@lukaskurz Not sure what'g going on, AutoRouter is not using in sizing widget inside of it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions