snack static method
Implementation
static EntryController snack(
String message, {
Widget? action,
int duration = 3,
Alignment? align,
double width = 0.7,
}) {
if (_instance == null) {
throw StateError('Pls call MyDialog.instance before use snack!');
}
return _instance!.snack(
message,
action: action,
duration: duration,
align: align,
width: width,
);
}