AdaptiveStyle enum Null safety

Inheritance

Constructors

AdaptiveStyle()
const

Values

adaptive → const AdaptiveStyle
AdaptiveStyle()
material → const AdaptiveStyle
AdaptiveStyle()
cupertino → const AdaptiveStyle
@Deprecated('Use `ios` instead. Will be removed in v2.')
AdaptiveStyle()
iOS → const AdaptiveStyle
AdaptiveStyle()
macOS → const AdaptiveStyle
AdaptiveStyle()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
label String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

effectiveStyle(ThemeData data) AdaptiveStyle
isCupertinoStyle(ThemeData theme) bool
@Deprecated('Will be removed in v2.')
isMaterial(ThemeData theme) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<AdaptiveStyle>
A constant List of the values in this enum, in order of their declaration.
[adaptive, material, cupertino, iOS, macOS]