|
|
|
|
@ -43,9 +43,13 @@ class MyApp extends StatelessWidget {
|
|
|
|
|
return LayoutBuilder(
|
|
|
|
|
builder: (context, constraints) {
|
|
|
|
|
return OrientationBuilder(builder: (context, orientation) {
|
|
|
|
|
log("orientationorientation: ${orientation.toString()}");
|
|
|
|
|
SizeConfig().init(constraints, orientation);
|
|
|
|
|
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
|
|
|
|
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
|
|
|
|
|
|
|
|
|
log("orientationorientation: ${orientation.toString()}");
|
|
|
|
|
|
|
|
|
|
return MultiProvider(
|
|
|
|
|
providers: [
|
|
|
|
|
ChangeNotifierProvider<ScreenConfigViewModel>(
|
|
|
|
|
|