style property
The RadioStyle to be applied to the radio widget
Implementation
@override
get style => const DrivenRadioStyle(
size: 18.0,
shape: BoxShape.circle,
padding: EdgeInsets.all(9),
borderStyle: BorderStyle.solid,
borderRadius: BorderRadius.zero,
borderWidth: 2.0,
thumbOpacity: 0,
thumbInset: 1,
selectedStyle: RadioStyle(
thumbInset: .45,
thumbOpacity: 1,
),
hoveredStyle: RadioStyle(overlayRadius: 20.0),
pressedStyle: RadioStyle(overlayRadius: 10.0),
disabledStyle: RadioStyle(
backgroundAlpha: RadioStyle.disabledBackgroundAlpha,
borderAlpha: RadioStyle.disabledBorderAlpha,
),
).merge(super.style);