AdaptiveStyle enum Null safety
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
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]