AnimationPreferences constructor
const
AnimationPreferences({
- double magnitude = 1,
- Duration offset = Duration.zero,
- Duration duration = const Duration(seconds: 1),
- AnimationPlayStates? autoPlay = AnimationPlayStates.Forward,
- AnimationStatusListener? animationStatusListener,
Constructor with defaults.
Implementation
const AnimationPreferences({
this.magnitude = 1,
this.offset = Duration.zero,
this.duration = const Duration(seconds: 1),
this.autoPlay = AnimationPlayStates.Forward,
this.animationStatusListener,
});