NikuRadio<T> constructor

NikuRadio<T>(
  1. T value, {
  2. Key? key,
  3. T? groupValue,
  4. ValueChanged<T?>? onChanged,
  5. MouseCursor? mouseCursor,
  6. bool? toggleable,
  7. Color? activeColor,
  8. NikuState<Color?>? fillColorState,
  9. MaterialTapTargetSize? materialTapTargetSize,
  10. VisualDensity? visualDensity,
  11. Color? focusColor,
  12. Color? hoverColor,
  13. NikuState<Color?>? overlayColorState,
  14. double? splashRadius,
  15. FocusNode? focusNode,
  16. bool? autofocus,
  17. Color? fillColor,
  18. Color? overlayColor,
})

Implementation

NikuRadio(
  this.value, {
  this.key,
  this.groupValue,
  this.onChanged,
  this.mouseCursor,
  this.toggleable,
  this.activeColor,
  this.fillColorState,
  this.materialTapTargetSize,
  this.visualDensity,
  this.focusColor,
  this.hoverColor,
  this.overlayColorState,
  this.splashRadius,
  this.focusNode,
  this.autofocus,
  Color? fillColor,
  Color? overlayColor,
}) : super(key: key) {
  if (fillColor != null) fillColorState = NikuState.all(fillColor);
  if (overlayColor != null) overlayColorState = NikuState.all(fillColor);
}