const BannerPainter({@required String message, @required BannerLocation location })

Creates a banner painter.

The message and location arguments must not be null.

Source

const BannerPainter({
  @required this.message,
  @required this.location
});