ToastEntry constructor
ToastEntry({
- required ToastBuilder builder,
- required ToastLocation location,
- bool dismissible = true,
- Curve curve = Curves.easeInOut,
- Duration duration = kDefaultDuration,
- required CapturedThemes? themes,
- required CapturedData? data,
- VoidCallback? onClosed,
- 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),
});