CheckboxTile constructor

const CheckboxTile({
  1. Key? key,
  2. TileWidgetPosition checkPosition = TileWidgetPosition.trailing,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? leading,
  6. Widget? trailing,
  7. bool tristate = false,
  8. ValueChanged<bool?>? onChanged,
  9. double knownIconSize = 20,
  10. EdgeInsets contentPadding = const EdgeInsets.symmetric(vertical: 4, horizontal: 18),
  11. EdgeInsets leadingPadding = const EdgeInsets.only(right: 10, top: 4),
  12. EdgeInsets trailingPadding = const EdgeInsets.only(left: 10, top: 4),
  13. bool sliver = false,
  14. bool? value,
})

Implementation

const CheckboxTile({
  super.key,
  this.checkPosition = TileWidgetPosition.trailing,
  this.title,
  this.subtitle,
  this.leading,
  this.trailing,
  this.tristate = false,
  this.onChanged,
  this.knownIconSize = 20,
  this.contentPadding =
      const EdgeInsets.symmetric(vertical: 4, horizontal: 18),
  this.leadingPadding = const EdgeInsets.only(right: 10, top: 4),
  this.trailingPadding = const EdgeInsets.only(left: 10, top: 4),
  this.sliver = false,
  this.value,
});