YaruCheckButton constructor

const YaruCheckButton({
  1. Key? key,
  2. required bool? value,
  3. required ValueChanged<bool?>? onChanged,
  4. required Widget title,
  5. Widget? subtitle,
  6. EdgeInsetsGeometry? contentPadding,
  7. bool tristate = false,
  8. bool autofocus = false,
  9. FocusNode? focusNode,
  10. MouseCursor? mouseCursor,
})

Creates a new check button.

Implementation

const YaruCheckButton({
  super.key,
  required this.value,
  required this.onChanged,
  required this.title,
  this.subtitle,
  this.contentPadding,
  this.tristate = false,
  this.autofocus = false,
  this.focusNode,
  this.mouseCursor,
});