NotifyToastView constructor
const
NotifyToastView({
- Key? key,
- required String uniqueId,
- required NotifyToastPosition position,
- required Duration animationDuration,
- required Duration delayDismiss,
- required Widget child,
- BorderRadius borderRadius = BorderRadius.zero,
- Color bgColor = Colors.black,
- double blur = 10,
- Color progressBgColor = Colors.transparent,
- Color progressColor = Colors.white,
- double progressHeight = 2,
- required void onDismiss(),
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,
});