CellCheckbox constructor

const CellCheckbox({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. required MutableCell<bool?> value,
  4. ValueCell<bool> tristate = const ValueCell.value(false),
  5. ValueCell<MouseCursor?>? mouseCursor,
  6. ValueCell<Color?>? activeColor,
  7. ValueCell<WidgetStateProperty<Color?>?>? fillColor,
  8. ValueCell<Color?>? checkColor,
  9. ValueCell<Color?>? focusColor,
  10. ValueCell<Color?>? hoverColor,
  11. ValueCell<WidgetStateProperty<Color?>?>? overlayColor,
  12. ValueCell<double?>? splashRadius,
  13. ValueCell<MaterialTapTargetSize?>? materialTapTargetSize,
  14. ValueCell<VisualDensity?>? visualDensity,
  15. ValueCell<FocusNode?>? focusNode,
  16. ValueCell<bool> autofocus = const ValueCell.value(false),
  17. ValueCell<OutlinedBorder?>? shape,
  18. ValueCell<BorderSide?>? side,
  19. ValueCell<bool> isError = const ValueCell.value(false),
  20. ValueCell<String?>? semanticLabel,
})

Implementation

const CellCheckbox({
  super.key,
  this.enabled = const ValueCell.value(true),
  required this.value,
  this.tristate = const ValueCell.value(false),
  this.mouseCursor,
  this.activeColor,
  this.fillColor,
  this.checkColor,
  this.focusColor,
  this.hoverColor,
  this.overlayColor,
  this.splashRadius,
  this.materialTapTargetSize,
  this.visualDensity,
  this.focusNode,
  this.autofocus = const ValueCell.value(false),
  this.shape,
  this.side,
  this.isError = const ValueCell.value(false),
  this.semanticLabel,
});