Banner({Key key, Widget child, String message, BannerLocation location })

Creates a banner.

The message and location arguments must not be null.

Source

Banner({
  Key key,
  this.child,
  this.message,
  this.location
}) : super(key: key) {
  assert(message != null);
  assert(location != null);
}