ZoomIn constructor
ZoomIn({
- dynamic key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 800),
- Duration delay = const Duration(milliseconds: 0),
- dynamic controller()?,
- bool manualTrigger = false,
- bool animate = true,
- double from = 1.0,
- dynamic onFinish(
- AnimateDoDirection direction
- Curve curve = Curves.easeInOutCubicEmphasized,
Implementation
ZoomIn({
key,
required this.child,
this.duration = const Duration(milliseconds: 800),
this.delay = const Duration(milliseconds: 0),
this.controller,
this.manualTrigger = false,
this.animate = true,
this.from = 1.0,
this.onFinish,
this.curve = Curves.easeInOutCubicEmphasized,
}) : super(key: key) {
if (manualTrigger == true && controller == null) {
throw FlutterError('If you want to use manualTrigger:true, \n\n'
'Then you must provide the controller property, that is a callback like:\n\n'
' ( controller: AnimationController) => yourController = controller \n\n');
}
}