Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank White Page with GetMaterialApp #50

Open
rjkolli7 opened this issue May 8, 2022 · 2 comments
Open

Blank White Page with GetMaterialApp #50

rjkolli7 opened this issue May 8, 2022 · 2 comments

Comments

@rjkolli7
Copy link

rjkolli7 commented May 8, 2022

When using Sizer package along with Getx package. Sizer is not working it showing Empty white screen.

This is how Sizer is applied to GetMaterialApp widget.

GetBuilder<ThemeController>(builder: (themeController) { return Sizer(builder: (context, orientation, deviceType) { return GetMaterialApp( debugShowCheckedModeBanner: false, enableLog: true, logWriterCallback: Logger.write, title: StringHelper.appTitle, theme: themeController.getTheme(), initialRoute: GetPlatform.isMobile ? Routes.splash : isLogin ? Routes.home : Routes.auth, getPages: AppPages.routes, ); }); });

There is no error log to provide.

@Am607
Copy link

Am607 commented Jul 27, 2022

I am also using sizer with bloc all and it also giving white screen error in release mode did you fix this issue?

@boris1690
Copy link

Solution other library https://pub.dev/packages/responsive_sizer/install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants