FRadio<T>.custom constructor

FRadio<T>.custom({
  1. Key? key,
  2. T? value,
  3. T? groupValue,
  4. ValueChanged<T?>? onChanged,
  5. Widget? normal,
  6. Widget? selected,
  7. Widget? disableNormal,
  8. Widget? disableSelected,
  9. Widget? hover,
  10. double width = 27,
  11. double height = 27,
  12. bool enable = true,
  13. bool toggleable = false,
  14. FocusNode? focusNode,
  15. bool autofocus = false,
})

FRadio.custom 构造函数允许用户自定义配置 normalselecteddisableNormaldisableSelected 以及 hover

The FRadio.custom constructor allows users to customize the configuration normal, selected, disableNormal, disableSelected and hover.

Implementation

FRadio.custom({
  Key? key,
  this.value,
  this.groupValue,
  this.onChanged,
  this.normal,
  this.selected,
  this.disableNormal,
  this.disableSelected,
  this.hover,
  this.width = 27,
  this.height = 27,
  this.enable = true,
  this.toggleable = false,
  this.focusNode,
  this.autofocus = false,
}) : super(key: key);