BannerModifier constructor

const BannerModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required String message,
  5. TextDirection? textDirection,
  6. required BannerLocation location,
  7. TextDirection? layoutDirection,
  8. Color color = _kColor,
  9. TextStyle textStyle = _kTextStyle,
})

Creates a banner.

The message and location arguments must not be null.

Implementation

const BannerModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.message,
  this.textDirection,
  required this.location,
  this.layoutDirection,
  this.color = _kColor,
  this.textStyle = _kTextStyle,
});