Toast constructor

Toast({
  1. double? width,
  2. double? height,
  3. BorderRadius? borderRadius,
  4. dynamic title,
  5. dynamic subtitle,
  6. Widget? leading,
  7. Widget? trailing,
  8. bool? fadeInSubtitle,
  9. VoidCallback? onTap,
  10. VoidCallback? onAppear,
  11. VoidCallback? onExit,
  12. bool? darkMode,
  13. Color? backgroundColor,
  14. ToastStatus? status,
  15. 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});