ToastEntry constructor

ToastEntry({
  1. required ToastBuilder builder,
  2. required ToastLocation location,
  3. bool dismissible = true,
  4. Curve curve = Curves.easeInOut,
  5. Duration duration = kDefaultDuration,
  6. required CapturedThemes? themes,
  7. required CapturedData? data,
  8. VoidCallback? onClosed,
  9. Duration? showDuration = const Duration(seconds: 5),
})

Implementation

ToastEntry({
  required this.builder,
  required this.location,
  this.dismissible = true,
  this.curve = Curves.easeInOut,
  this.duration = kDefaultDuration,
  required this.themes,
  required this.data,
  this.onClosed,
  this.showDuration = const Duration(seconds: 5),
});