CellBanner constructor

const CellBanner({
  1. Key? key,
  2. ValueCell<Widget?>? child,
  3. required ValueCell<String> message,
  4. ValueCell<TextDirection?>? textDirection,
  5. required ValueCell<BannerLocation> location,
  6. ValueCell<TextDirection?>? layoutDirection,
  7. ValueCell<Color> color = const ValueCell.value(Color(0xA0B71C1C)),
  8. ValueCell<TextStyle> textStyle = const ValueCell.value(TextStyle(color: Color(0xFFFFFFFF), fontSize: 12.0 * 0.85, fontWeight: FontWeight.w900, height: 1.0)),
})

Implementation

const CellBanner({
  super.key,
  this.child,
  required this.message,
  this.textDirection,
  required this.location,
  this.layoutDirection,
  this.color = const ValueCell.value(Color(0xA0B71C1C)),
  this.textStyle = const ValueCell.value(TextStyle(
      color: Color(0xFFFFFFFF),
      fontSize: 12.0 * 0.85,
      fontWeight: FontWeight.w900,
      height: 1.0)),
});