createMaterialWidget method
Implementation
@override
Radio createMaterialWidget(BuildContext context) {
final data = material?.call(context, platform(context));
return Radio(
//Material
mouseCursor: data?.mouseCursor,
hoverColor: data?.hoverColor,
overlayColor: data?.overlayColor,
splashRadius: data?.splashRadius,
materialTapTargetSize: data?.materialTapTargetSize,
visualDensity: data?.visualDensity,
//Common
key: data?.widgetKey ?? widgetKey,
value: data?.value ?? value,
groupValue: data?.groupValue ?? groupValue,
onChanged: data?.onChanged ?? onChanged,
toggleable: data?.toggleable ?? toggleable,
activeColor: data?.activeColor ?? activeColor,
fillColor: data?.fillColor ?? MaterialStateProperty.all(fillColor),
focusColor: data?.focusColor ?? focusColor,
autofocus: data?.autofocus ?? autofocus,
focusNode: data?.focusNode ?? focusNode,
);
}