SnackBarAction constructor
Creates an action for a SnackBar.
The label
and onPressed
arguments must be non-null.
Implementation
const SnackBarAction({
Key key,
this.textColor,
this.disabledTextColor,
@required this.label,
@required this.onPressed,
}) : assert(label != null),
assert(onPressed != null),
super(key: key);