Banner constructor
- Key? key,
- Widget? child,
- required String message,
- TextDirection? textDirection,
- required BannerLocation location,
- TextDirection? layoutDirection,
- Color color = _kColor,
- TextStyle textStyle = _kTextStyle,
- BoxShadow shadow = _kShadow,
Creates a banner.
Implementation
const Banner({
super.key,
this.child,
required this.message,
this.textDirection,
required this.location,
this.layoutDirection,
this.color = _kColor,
this.textStyle = _kTextStyle,
this.shadow = _kShadow,
});