flutter_statusbar_manager icon indicating copy to clipboard operation
flutter_statusbar_manager copied to clipboard

Deprecated version of the Android embedding

Open efraespada opened this issue 2 years ago • 6 comments

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.

efraespada avatar Sep 11 '21 12:09 efraespada

Any updates?

ArefMozafari avatar Sep 21 '21 06:09 ArefMozafari

Any updates?

no

RowgerGo avatar Oct 19 '21 06:10 RowgerGo

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,
          )
       )

mustafabhatkar avatar Oct 19 '21 09:10 mustafabhatkar

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

rafaelmaeuer avatar Oct 25 '21 22:10 rafaelmaeuer

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

anass-naoushi avatar Nov 22 '21 17:11 anass-naoushi

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

rafaelmaeuer avatar Feb 20 '22 01:02 rafaelmaeuer