ResponsiveFramework
ResponsiveFramework copied to clipboard
DropdownButton is not working
If I use ResponsiveWrapper.builder it brakes my DropdownButton.
``runApp(MaterialApp( debugShowCheckedModeBanner: false, builder: (context, widget) => ResponsiveWrapper.builder(TabsPage(), maxWidth: 1200, minWidth: 450, defaultScale: true, breakpoints: [ ResponsiveBreakpoint(breakpoint: 450, name: MOBILE), ResponsiveBreakpoint( breakpoint: 800, name: TABLET, autoScale: true,), ResponsiveBreakpoint( breakpoint: 1000, name: TABLET, autoScale: true), ResponsiveBreakpoint(breakpoint: 1200, name: DESKTOP), ResponsiveBreakpoint( breakpoint: 2460, name: "4K", autoScale: true), ], background: Container(color: Color(0xFFF5F5F5))),
Thanks for reporting this issue. Can you provide a sample code of your dropdown button? There are a few known issues with modals and routes that are on the roadmap to fix. Going to add dropdowns to the list too.
Hi @pesutsoos
Maybe it will work with the following code:
``runApp(MaterialApp( debugShowCheckedModeBanner: false, builder: (context, widget) => ResponsiveWrapper.builder( maxWidth: 1200, minWidth: 450, defaultScale: true, breakpoints: [ ResponsiveBreakpoint(breakpoint: 450, name: MOBILE), ResponsiveBreakpoint( breakpoint: 800, name: TABLET, autoScale: true,), ResponsiveBreakpoint( breakpoint: 1000, name: TABLET, autoScale: true), ResponsiveBreakpoint(breakpoint: 1200, name: DESKTOP), ResponsiveBreakpoint( breakpoint: 2460, name: "4K", autoScale: true), ], background: Container(color: Color(0xFFF5F5F5))), home: TabsPage(),
I've done a bit of research into Overlays and there's hope for a good solution.