AnimationData constructor
AnimationData({
- Duration duration = const Duration(milliseconds: 1000),
- Duration onDelay = const Duration(milliseconds: 200),
- TokenGetAnimation onStart = _null,
- TokenGetAnimation mouseEnter = _null,
- TokenGetAnimation mouseExit = _null,
- TokenGetAnimation onClick = _null,
- int token = 0,
- TransitionType transition = TransitionType.FadeIn,
- TypeTransition type = TypeTransition.line,
- bool forPage = false,
- required Widget child,
Implementation
AnimationData({
this.duration = const Duration(milliseconds: 1000),
this.onDelay = const Duration(milliseconds: 200),
this.onStart = _null,
this.mouseEnter = _null,
this.mouseExit = _null,
this.onClick = _null,
this.token = 0,
this.transition = TransitionType.FadeIn,
this.type = TypeTransition.line,
this.forPage = false,
required this.child,
});