NotifyToastView constructor

const NotifyToastView({
  1. Key? key,
  2. required String uniqueId,
  3. required NotifyToastPosition position,
  4. required Duration animationDuration,
  5. required Duration delayDismiss,
  6. required Widget child,
  7. BorderRadius borderRadius = BorderRadius.zero,
  8. Color bgColor = Colors.black,
  9. double blur = 10,
  10. Color progressBgColor = Colors.transparent,
  11. Color progressColor = Colors.white,
  12. double progressHeight = 2,
  13. required void onDismiss(
    1. String
    ),
})

Implementation

const NotifyToastView({
  super.key,
  required this.uniqueId,
  required this.position,
  required this.animationDuration,
  required this.delayDismiss,
  required this.child,
  this.borderRadius = BorderRadius.zero,
  this.bgColor = Colors.black,
  this.blur = 10,
  this.progressBgColor = Colors.transparent,
  this.progressColor = Colors.white,
  this.progressHeight = 2,
  required this.onDismiss,
});