CustomBanner constructor
const
CustomBanner({
- Key? key,
- Widget? child,
- required String message,
- required CustomBannerLocation location,
- TextDirection? textDirection,
- TextDirection? layoutDirection,
- Color color = const Color(0xA0B71C1C),
- TextStyle? textStyle,
- BoxShadow shadow = _kBannerDefaultShadow,
- double bannerOffset = _kBannerDefaultOffset,
- double bannerHeight = _kBannerDefaultHeight,
Implementation
const CustomBanner({
super.key,
this.child,
required this.message,
required this.location,
this.textDirection,
this.layoutDirection,
this.color = const Color(0xA0B71C1C),
this.textStyle,
this.shadow = _kBannerDefaultShadow,
this.bannerOffset = _kBannerDefaultOffset,
this.bannerHeight = _kBannerDefaultHeight,
});