BannerModifier constructor
const
BannerModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- required String message,
- TextDirection? textDirection,
- required BannerLocation location,
- TextDirection? layoutDirection,
- Color color = _kColor,
- 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,
});