FlutterEasyMessage constructor

FlutterEasyMessage(
  1. {Widget messageChild,
  2. @required Duration duration,
  3. Duration showDuration,
  4. bool shouldShow = false,
  5. Duration hideDuration,
  6. Curve curve = Curves.linear,
  7. Curve reverseCurve = Curves.linear,
  8. EasyShowOrHideStyle showAnimationStyle,
  9. EasyShowOrHideStyle hideAnimationStyle,
  10. EasyAnimationDirection showAnimaitonDirection = EasyAnimationDirection.ltr,
  11. EasyAnimationDirection hideAnimaitonDirection = EasyAnimationDirection.btt}
)

Implementation

FlutterEasyMessage({
  this.messageChild,
  @required this.duration,
  this.showDuration,
  this.shouldShow = false,
  this.hideDuration,
  this.curve = Curves.linear,
  this.reverseCurve = Curves.linear,
  this.showAnimationStyle,
  this.hideAnimationStyle,
  this.showAnimaitonDirection = EasyAnimationDirection.ltr,
  this.hideAnimaitonDirection = EasyAnimationDirection.btt,
});