MiuixRadioButtonPreference constructor

const MiuixRadioButtonPreference({
  1. Key? key,
  2. required String title,
  3. required bool selected,
  4. VoidCallback? onClick,
  5. String? summary,
  6. MiuixRadioButtonPreferenceColors? colors,
  7. MiuixRadioButtonColors? radioButtonColors,
  8. Widget? startAction,
  9. List<Widget>? endActions,
  10. MiuixRadioButtonLocation radioButtonLocation = MiuixRadioButtonLocation.start,
  11. Widget? bottomAction,
  12. EdgeInsetsGeometry insideMargin = MiuixBasicComponentDefaults.insideMargin,
  13. bool holdDownState = false,
  14. bool enabled = true,
})

Implementation

const MiuixRadioButtonPreference({
  super.key,
  required this.title,
  required this.selected,
  this.onClick,
  this.summary,
  this.colors,
  this.radioButtonColors,
  this.startAction,
  this.endActions,
  this.radioButtonLocation = MiuixRadioButtonLocation.start,
  this.bottomAction,
  this.insideMargin = MiuixBasicComponentDefaults.insideMargin,
  this.holdDownState = false,
  this.enabled = true,
});