YaruRadioButton<T> constructor

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

Creates a new radio button.

Implementation

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