-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Description
Testing this out and I'm seeing it's not working on iOS tablet for a Flutter mobile app. Attached screenshot
Maybe I'm missing something but here is my code from the main dart file
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ScopedModel<LocalDataModel>(
model: LocalDataModel(),
child: MaterialApp(
onGenerateRoute: router.generateRoute,
home: RootPage(
auth: Auth(),
),
builder: (context, widget) => ResponsiveWrapper.builder(
BouncingScrollWrapper.builder(context, widget),
maxWidth: 1200,
minWidth: 450,
defaultScale: true,
breakpoints: [
ResponsiveBreakpoint.resize(450, name: MOBILE),
ResponsiveBreakpoint.autoScale(800, name: TABLET),
ResponsiveBreakpoint.autoScale(1000, name: TABLET),
ResponsiveBreakpoint.resize(1200, name: DESKTOP),
ResponsiveBreakpoint.autoScale(2460, name: '4K'),
],
),
theme: ThemeData(
brightness: Brightness.light,
primaryColor: Color(0XFF47525D),
accentColor: Color(0xFF00AEEF),
textTheme: Theme.of(context).textTheme.apply(
bodyColor: Color(0XFF47525D),
displayColor: Color(0XFF47525D),
),
),
));
}
}
Metadata
Metadata
Assignees
Labels
No labels