FlutterStatusbarcolor class

Constructors

FlutterStatusbarcolor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getNavigationBarColor() Future<Color?>
Android only
getStatusBarColor() Future<Color?>
Get the status bar background color.
setNavigationBarColor(Color color, {bool animate = false}) Future<void>
Android only
setNavigationBarWhiteForeground(bool useWhiteForeground) Future<void>
Android only
setStatusBarColor(Color color, {bool animate = false}) Future<void>
Set the status bar background color.
setStatusBarWhiteForeground(bool useWhiteForeground) Future<void>
Set the status bar foreground brightness. Set to true, the color of the text and icon will be white, otherwise black.