toast method
void
toast(
- String message, {
- int duration = 2,
- ToastAlignment alignment = ToastAlignment.bottom,
- Widget? widget,
Implementation
void toast(
String message, {
int duration = 2,
ToastAlignment alignment = ToastAlignment.bottom,
Widget? widget,
}) {
if (_toastCall != null) {
_toastCall!(message,
duration: duration, alignment: alignment, widget: widget);
}
}