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(
(FlutterUpConfig.of(context)?.theme ?? UpConstants.kDefaultTheme),
colorType,
).radioButtonDisabledFilledColor ??
UpConstants.kDefaultStyleDisabledBackgroundColor
: override?.radioButtonFilledColor ??
style?.radioButtonFilledColor ??
getStyleByType(
(FlutterUpConfig.of(context)?.theme ??
UpConstants.kDefaultTheme),
colorType)
.radioButtonFilledColor ??
Theme.of(context).primaryColor;
}