FlexSystemNavBarStyle enum

Enum used to define the SystemUiOverlayStyle for the system navigation bar. Can be used with the FlexColorScheme.themedSystemNavigationBar helper to select the background style of system navigation bar when using the helper in an AnnotatedRegion to style the system navigation bar.

Inheritance

Constructors

FlexSystemNavBarStyle()
const

Values

system → const FlexSystemNavBarStyle

Standard Android system style, white in light theme and black in dark theme.

surface → const FlexSystemNavBarStyle

The system navigation bar will be the same color as active theme colorScheme.surface color. If your FlexColorScheme definition is set to use primary branded surface and background colors, the same primary color blend that the surface color has received will be used.

background → const FlexSystemNavBarStyle

The system navigation bar will be the same color as active theme colorScheme.background color. If your FlexColorScheme definition is set to use primary branded surface and background colors, the same primary color blend that the background color has received will be used.

scaffoldBackground → const FlexSystemNavBarStyle

The system navigation bar will be the same color as active theme scaffoldBackground color. If your FlexColorScheme definition is set to use primary branded surface and background colors, the same primary color blend that the scaffoldBackground color has received will be used.

transparent → const FlexSystemNavBarStyle

An experimental feature. The goal is to make the system navigation bar fully transparent, showing the background, while navigation buttons float over the background. This feature only works if it is also configured in the Android embedder and on SDK 30 or higher. More information in this example: https://github.com/rydmike/sysnavbar

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<FlexSystemNavBarStyle>
A constant List of the values in this enum, in order of their declaration.