Creates a snack bar.
The content argument must be non-null.
Source
SnackBar({
Key key,
this.content,
this.backgroundColor,
this.action,
this.duration: _kSnackBarDisplayDuration,
this.animation
}) : super(key: key) {
assert(content != null);
}