MirrorAnimation<T> constructor
const
MirrorAnimation<T> ({
- required AnimatedWidgetBuilder<
T> builder, - required Animatable<
T> tween, - Duration duration = const Duration(seconds: 1),
- Curve curve = Curves.linear,
- Widget? child,
- int? fps,
- bool developerMode = false,
- 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);