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