SystemUiOverlayStyle class

Specifies a preference for the style of the system overlays.

Used by SystemChrome.setSystemUIOverlayStyle.

Constructors

SystemUiOverlayStyle({Color systemNavigationBarColor, Color systemNavigationBarDividerColor, Brightness systemNavigationBarIconBrightness, Color statusBarColor, Brightness statusBarBrightness, Brightness statusBarIconBrightness })
Creates a new SystemUiOverlayStyle.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
statusBarBrightness Brightness
The brightness of top status bar. [...]
final
statusBarColor Color
The color of top status bar. [...]
final
statusBarIconBrightness Brightness
The brightness of the top status bar icons. [...]
final
systemNavigationBarColor Color
The color of the system bottom navigation bar. [...]
final
systemNavigationBarDividerColor Color
The color of the divider between the system's bottom navigation bar and the app's content. [...]
final
systemNavigationBarIconBrightness Brightness
The brightness of the system navigation bar icons. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({Color systemNavigationBarColor, Color systemNavigationBarDividerColor, Color statusBarColor, Brightness statusBarBrightness, Brightness statusBarIconBrightness, Brightness systemNavigationBarIconBrightness }) SystemUiOverlayStyle
Creates a copy of this theme with the given fields replaced with new values.
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override

Constants

dark → const SystemUiOverlayStyle
System overlays should be drawn with a dark color. Intended for applications with a light background.
const SystemUiOverlayStyle(systemNavigationBarColor: const Color(0xFF000000), systemNavigationBarDividerColor: null, statusBarColor: null, systemNavigationBarIconBrightness: Brightness.light, statusBa…
light → const SystemUiOverlayStyle
System overlays should be drawn with a light color. Intended for applications with a dark background.
const SystemUiOverlayStyle(systemNavigationBarColor: const Color(0xFF000000), systemNavigationBarDividerColor: null, statusBarColor: null, systemNavigationBarIconBrightness: Brightness.light, statusBa…