EffectsSpec class final
Optional ambient effect (spec §5.1 Effects). M3 families use none. Effects never animate behind the display text (spec §5.4).
- Annotations
Constructors
- EffectsSpec({EffectKind kind = EffectKind.none, int intensityPermille = 0, int color = 0, int densityPermille = 0})
-
const
- EffectsSpec.fromJson(Object? json)
-
factory
Properties
- color → int
-
final
- densityPermille → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- intensityPermille → int
-
final
- kind → EffectKind
-
final
- 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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- none → const EffectsSpec
- No effect.