Toast constructor
const
Toast({
- Key? key,
- ToastLocation? location,
- Duration? showDuration,
- bool dismissible = true,
- Duration? entryDuration,
- required Widget builder(
- BuildContext context
Constructs a Toast notification.
The builder defines the widget content to display. Optional parameters override theme defaults
for location, durations, and dismissibility, enabling flexible toast handling in Arcane apps.
Implementation
const Toast({
super.key,
this.location,
this.showDuration,
this.dismissible = true,
this.entryDuration,
required this.builder,
});