FadeOutUpBig constructor
FadeOutUpBig({
- dynamic key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 1300),
- Duration delay = const Duration(milliseconds: 0),
- dynamic controller()?,
- bool manualTrigger = false,
- bool animate = false,
- double from = 600,
- dynamic onFinish(
- AnimateDoDirection direction
- Curve curve = Curves.easeOut,
Implementation
FadeOutUpBig({
key,
required this.child,
this.duration = const Duration(milliseconds: 1300),
this.delay = const Duration(milliseconds: 0),
this.controller,
this.manualTrigger = false,
this.animate = false,
this.from = 600,
this.onFinish,
this.curve = Curves.easeOut,
}) : 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');
}
}