flutter_status_bar_light 1.0.3 flutter_status_bar_light: ^1.0.3 copied to clipboard
A flutter plugin that sets the android status bar transparent and status icon.
flutter_status_bar_light #
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_status_bar_light
as a dependency in your pubspec.yaml file.
dependencies:
flutter_status_bar_light: ^1.0.2
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();
}