copyWith method
RadioTheme
copyWith({
- ValueGetter<
Color?> ? activeColor, - ValueGetter<
Color?> ? borderColor, - ValueGetter<
double?> ? size, - ValueGetter<
Color?> ? backgroundColor,
Implementation
RadioTheme copyWith({
ValueGetter<Color?>? activeColor,
ValueGetter<Color?>? borderColor,
ValueGetter<double?>? size,
ValueGetter<Color?>? backgroundColor,
}) {
return RadioTheme(
activeColor: activeColor == null ? this.activeColor : activeColor(),
borderColor: borderColor == null ? this.borderColor : borderColor(),
size: size == null ? this.size : size(),
backgroundColor:
backgroundColor == null ? this.backgroundColor : backgroundColor(),
);
}