ToastMeta constructor

ToastMeta({
  1. Widget? icon,
  2. required String title,
  3. required String style,
  4. required String description,
  5. Color? color,
  6. Function? action,
  7. Function? dismiss,
  8. Duration duration = const Duration(seconds: 2),
  9. Map<String, dynamic>? metaData,
})

Implementation

ToastMeta(
    {this.icon,
    required this.title,
    required this.style,
    required this.description,
    this.color,
    this.action,
    this.dismiss,
    this.duration = const Duration(seconds: 2),
    this.metaData});