getRadioButtonFilledColor static method
Color
getRadioButtonFilledColor(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static Color getRadioButtonFilledColor(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return style?.isDisabled == true
? override?.radioButtonDisabledFilledColor ??
style?.radioButtonDisabledFilledColor ??
getStyleByType(
UpConfig.of(context).theme,
colorType,
).radioButtonDisabledFilledColor ??
UpConstants.kDefaultStyleDisabledBackgroundColor
: override?.radioButtonFilledColor ??
style?.radioButtonFilledColor ??
getStyleByType(UpConfig.of(context).theme, colorType)
.radioButtonFilledColor ??
Theme.of(context).primaryColor;
}