NikuRadio<T> constructor
NikuRadio<T> (
- T value, {
- Key? key,
- T? groupValue,
- ValueChanged<
T?> ? onChanged, - MouseCursor? mouseCursor,
- bool? toggleable,
- Color? activeColor,
- NikuState<
Color?> ? fillColorState, - MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- Color? focusColor,
- Color? hoverColor,
- NikuState<
Color?> ? overlayColorState, - double? splashRadius,
- FocusNode? focusNode,
- bool? autofocus,
- Color? fillColor,
- 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);
}