Open nietsmmar opened 1 year ago
Good news! If you use the builder
property in MaterialApp, all ModalRoutes (including dialogs), will be wrapped with the builder.
If you pass ResponsiveBreakpoints.builder() to the builder
property like in the example, your dialog has access to the breakpoints as well.
Hopefully I'm not wrong, I'll need to double check.
Flutter Documentation:
@rayliverified Do you have an example?
@rayliverified is there any updates on this? dialogs does not scale with the rest of the app
I am using
showDialog()
to display modals. How can I make sure, they are responsive too?