MirrorAnimation<T> constructor

const MirrorAnimation<T>({
  1. required AnimatedWidgetBuilder<T> builder,
  2. required Animatable<T> tween,
  3. Duration duration = const Duration(seconds: 1),
  4. Curve curve = Curves.linear,
  5. Widget? child,
  6. int? fps,
  7. bool developerMode = false,
  8. Key? key,
})

Creates a new MirrorAnimation widget. See class documentation for more information.

Implementation

const MirrorAnimation({
  required this.builder,
  required this.tween,
  this.duration = const Duration(seconds: 1),
  this.curve = Curves.linear,
  this.child,
  this.fps,
  this.developerMode = false,
  Key? key,
}) : super(key: key);