AppMotion class sealed
Ponto único de decisão de "reduce motion" do Flocks.
Toda animação do design system deve passar por resolve (ou consultar enabled) para respeitar as preferências de acessibilidade do usuário.
Properties
- hashCode → int
-
The hash code for this object.
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
Static Methods
-
enabled(
BuildContext context) → bool -
Se animações estão habilitadas para
context. -
resolve(
BuildContext context, Duration duration) → Duration -
Retorna
durationse animações estão habilitadas; senão Duration.zero (a animação colapsa para o estado final imediato).