InteractableAnimation constructor
const
InteractableAnimation({})
Creates a new InteractableAnimation instance.
Implementation
const InteractableAnimation({
required this.type,
this.duration = const Duration(seconds: 1),
this.delay = Duration.zero,
this.manualTrigger = false,
this.from = 0,
bool? infinite,
}) : infinite = infinite ?? (type == InteractableAnimationType.bounce || type == InteractableAnimationType.flash || type == InteractableAnimationType.pulse || type == InteractableAnimationType.swing || type == InteractableAnimationType.spin || type == InteractableAnimationType.spinPerfect || type == InteractableAnimationType.dance || type == InteractableAnimationType.roulette);