AnimationData constructor

AnimationData({
  1. Duration duration = const Duration(milliseconds: 1000),
  2. Duration onDelay = const Duration(milliseconds: 200),
  3. TokenGetAnimation onStart = _null,
  4. TokenGetAnimation mouseEnter = _null,
  5. TokenGetAnimation mouseExit = _null,
  6. TokenGetAnimation onClick = _null,
  7. int token = 0,
  8. TransitionType transition = TransitionType.FadeIn,
  9. TypeTransition type = TypeTransition.line,
  10. bool forPage = false,
  11. 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,
});