flutter_statusbar_manager
flutter_statusbar_manager copied to clipboard
Deprecated version of the Android embedding
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.
Any updates?
Any updates?
no
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,
)
)
Have a look on: rafaelmaeuer/flutter_statusbar_manager/v3.1.0 its build on base of #23
@rafaelmaeuer please publish it on https://pub.dev and thank you for the migration and fixes.
Feel free to use my re-publish now: https://pub.dev/packages/status_bar_control