Toast constructor
Toast({
- double? width,
- double? height,
- BorderRadius? borderRadius,
- dynamic title,
- dynamic subtitle,
- Widget? leading,
- Widget? trailing,
- bool? fadeInSubtitle,
- VoidCallback? onTap,
- VoidCallback? onAppear,
- VoidCallback? onExit,
- bool? darkMode,
- Color? backgroundColor,
- ToastStatus? status,
- Duration? duration,
Implementation
Toast(
{this.width,
this.height,
this.borderRadius,
this.title,
this.subtitle,
this.leading,
this.trailing,
this.fadeInSubtitle,
this.onTap,
this.onAppear,
this.onExit,
this.darkMode,
this.backgroundColor,
this.status,
this.duration});