Statusbarz class
The interface that can be used to manually refresh the status bar color and access observer
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ GlobalKey<
State< StatefulWidget> > -
Returns the key that shall be placed ONLY in StatusbarzObserver
no setter
- observer → StatusbarzObserver
-
Navigator observer to place inside MaterialApp:
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setDefaultDelay ← Duration
-
no getter
- theme → StatusbarzTheme
-
Returns the current theme
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
{Duration? delay}) → Future< void> - Changes status bar color based on the current background
-
setDarkStatusBar(
) → void - Changes the text and icon color on the statusbar to a dark color
-
setLightStatusBar(
) → void - Changes the text and icon color on the statusbar to a light color
-
setTheme(
StatusbarzTheme theme) → void - Setter for the theme
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → Statusbarz
-
Returns the interface that can be used to manually refresh the status bar color
no setter