Toast constructor

const Toast({
  1. Key? key,
  2. ToastLocation? location,
  3. Duration? showDuration,
  4. bool dismissible = true,
  5. Duration? entryDuration,
  6. required Widget builder(
    1. BuildContext context
    ),
})

Implementation

const Toast({
  super.key,
  this.location,
  this.showDuration,
  this.dismissible = true,
  this.entryDuration,
  required this.builder,
});