flutter_statusbarcolor 0.0.4 copy "flutter_statusbarcolor: ^0.0.4" to clipboard
flutter_statusbarcolor: ^0.0.4 copied to clipboard

discontinued
outdated

A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically.

flutter_statusbarcolor #

pub package

A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically.

Getting Started #

Installation #

Add this to your pubspec.yaml (or create it):

dependencies:
  flutter_statusbarcolor: any

Then run the flutter tooling:

flutter packages get

Example #

// change the status bar color to material color [green-400].
try {
  await FlutterStatusbarcolor.setStatusBarColor(Colors.green[400]);
} on PlatformException catch (e) {
  print(e);
}

// change the navigation bar color to material color [orange-200].
try {
  await FlutterStatusbarcolor.setNavigationBarColor(Colors.orange[200]);
} on PlatformException catch (e) {
  print(e);
}

Details in example/ folder.

Note that #

  • Android build api which below 21(Lollipop) does not work.
190
likes
0
pub points
92%
popularity

Publisher

unverified uploader

A package can help you to change your flutter app's statusbar's color or navigationbar's color programmatically.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_statusbarcolor