Toast constructor
const
Toast({
- Key? key,
- ToastLocation? location,
- Duration? showDuration,
- bool dismissible = true,
- Duration? entryDuration,
- required Widget builder(
- BuildContext context
Implementation
const Toast({
super.key,
this.location,
this.showDuration,
this.dismissible = true,
this.entryDuration,
required this.builder,
});