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