CustomBanner constructor

const CustomBanner({
  1. Key? key,
  2. Widget? child,
  3. required String message,
  4. required CustomBannerLocation location,
  5. TextDirection? textDirection,
  6. TextDirection? layoutDirection,
  7. Color color = const Color(0xA0B71C1C),
  8. TextStyle? textStyle,
  9. BoxShadow shadow = _kBannerDefaultShadow,
  10. double bannerOffset = _kBannerDefaultOffset,
  11. 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,
});