copyWith method
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
ThemeExtension<StatusIndicatorThemeData> copyWith({
TextStyle? labelStyle,
Color? loadingHighlightColor,
Color? loadingBaseColor,
}) {
return StatusIndicatorThemeData(
labelStyle: labelStyle ?? this.labelStyle,
loadingHighlightColor:
loadingHighlightColor ?? this.loadingHighlightColor,
loadingBaseColor: loadingBaseColor ?? this.loadingBaseColor,
);
}