NavigationThemeData class

Colors used by navigation-presented UI (alerts, modal bottom sheets).

Supply a customized instance to NavigationConfig via its theme parameter, or expose one to the widget tree via the NavigationTheme inherited widget. Fields default to the Material defaults, so an unconfigured package still renders with standard colors.

Annotations

Constructors

Creates navigation theme data.
const

Properties

cupertinoPrimaryColor Color
Accent used for the primary action in Cupertino-style alerts.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrimColor Color
Color of the modal barrier drawn behind dialogs and bottom sheets.
final

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.
override