ChipAnimationStyle class

A helper class that overrides the default chip animation parameters.

Constructors

ChipAnimationStyle({AnimationStyle? enableAnimation, AnimationStyle? selectAnimation, AnimationStyle? avatarDrawerAnimation, AnimationStyle? deleteDrawerAnimation})
Creates an instance of Chip Animation Style class.

Properties

avatarDrawerAnimation AnimationStyle?
If avatarDrawerAnimation with duration or reverse duration is provided, it will be used to override the chip checkmark animation duration. If it is null, then default duration will be 150ms.
final
deleteDrawerAnimation AnimationStyle?
If deleteDrawerAnimation with duration or reverse duration is provided, it will be used to override the chip delete icon animation duration. If it is null, then default duration will be 150ms.
final
enableAnimation AnimationStyle?
If enableAnimation with duration or reverse duration is provided, it will be used to override the chip enable and disable animation durations. If it is null, then default duration will be 75ms.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectAnimation AnimationStyle?
If selectAnimation with duration or reverse duration is provided, it will be used to override the chip select and unselect animation durations. If it is null, then default duration will be 195ms.
final

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