CellBadge constructor

const CellBadge({
  1. Key? key,
  2. ValueCell<Color?>? backgroundColor,
  3. ValueCell<Color?>? textColor,
  4. ValueCell<double?>? smallSize,
  5. ValueCell<double?>? largeSize,
  6. ValueCell<TextStyle?>? textStyle,
  7. ValueCell<EdgeInsetsGeometry?>? padding,
  8. ValueCell<AlignmentGeometry?>? alignment,
  9. ValueCell<Offset?>? offset,
  10. ValueCell<Widget?>? label,
  11. ValueCell<bool> isLabelVisible = const ValueCell.value(true),
  12. ValueCell<Widget?>? child,
})

Implementation

const CellBadge({
  super.key,
  this.backgroundColor,
  this.textColor,
  this.smallSize,
  this.largeSize,
  this.textStyle,
  this.padding,
  this.alignment,
  this.offset,
  this.label,
  this.isLabelVisible = const ValueCell.value(true),
  this.child,
});