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

Deprecated version of the Android embedding #22

Open
efraespada opened this issue Sep 11, 2021 · 6 comments
Open

Deprecated version of the Android embedding #22

efraespada opened this issue Sep 11, 2021 · 6 comments

Comments

@efraespada
Copy link

The plugins `flutter_statusbar_manager` use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
@ArefMozafari
Copy link

Any updates?

@RowgerGo
Copy link

Any updates?

no

@mustafabhatkar
Copy link

I ended up using AppBar's systemOverlayStyle to change the color of the status bar.
Works great!

Code Sample:

 AppBar(
          backgroundColor: Theme.of(context).primaryColor,
          systemOverlayStyle: SystemUiOverlayStyle(
            statusBarColor: Theme.of(context).primaryColor,
            statusBarIconBrightness: Brightness.light,
          )
       )

@rafaelmaeuer
Copy link

Have a look on: rafaelmaeuer/flutter_statusbar_manager/v3.1.0 its build on base of #23

@anass-naoushi
Copy link

@rafaelmaeuer please publish it on https://pub.dev and thank you for the migration and fixes.

@rafaelmaeuer
Copy link

Feel free to use my re-publish now: https://pub.dev/packages/status_bar_control

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

6 participants