GridReduceMotion enum
实验性(可能调整):九宫格减少动效策略,例如 GridReduceMotion.always。
Values
- system → const GridReduceMotion
-
跟随 MediaQuery.disableAnimations;没有 MediaQuery 时视为 false。
- always → const GridReduceMotion
-
始终将每秒换格数限制到三次以内。
- never → const GridReduceMotion
-
忽略系统减少动效设置,仍应用显式的 maxStepsPerSecond。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
GridReduceMotion> - A constant List of the values in this enum, in order of their declaration.