AnimatedScaleModifier constructor
const
AnimatedScaleModifier({
- Key? key,
- Widget? child,
- Curve curve = Curves.linear,
- required Duration duration,
- VoidCallback? onEnd,
- Key? modifierKey,
- required double scale,
- Alignment alignment = Alignment.center,
- FilterQuality? filterQuality,
Creates a widget that animates its scale implicitly.
The scale
argument must not be null.
The curve
and duration
arguments must not be null.
Implementation
const AnimatedScaleModifier({
super.key,
super.child,
super.curve,
required super.duration,
super.onEnd,
super.modifierKey,
required this.scale,
this.alignment = Alignment.center,
this.filterQuality,
});