FooStudio / flutter_statusbar_manager

Flutter StatusBar Manager for iOS & Android
MIT License
192 stars 74 forks source link

Deprecated version of the Android embedding #22

Open efraespada opened 3 years ago

efraespada commented 3 years ago
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 commented 3 years ago

Any updates?

RowgerGo commented 3 years ago

Any updates?

no

mustafabhatkar commented 3 years ago

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 commented 3 years ago

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

anass-naoushi commented 2 years ago

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

rafaelmaeuer commented 2 years ago

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