flutter_status_bar_light 1.0.0 flutter_status_bar_light: ^1.0.0 copied to clipboard
A flutter plugin that sets the android status bar transparent and status icon.
flutter_status_bar #
A flutter plugin that sets the android status bar transparent and status icon.
IOS flutter is built in, set appbar [brightness] [backgroundColor] directly.
Usage #
To use this plugin, add flutter_statusbar
as a dependency in your pubspec.yaml file.
dependencies:
flutter_android_status_bar: ^1.0.0
Example #
Set android status bar transparent.
@override
void initState() {
super.initState();
FlutterStatusBar.setTranslucent();
}
Set android status bar icon
@override
void initState() {
super.initState();
FlutterStatusBar.setLightStatusBar();
}