copyWith method
Creates a copy of this LoadingDialogTheme
object with the given fields
replaced with new values.
The copyWith method allows you to create a new instance of LoadingDialogTheme with some properties updated while keeping the others unchanged.
Implementation
LoadingDialogTheme copyWith({
Color? textColor,
Color? cupertinoPrimaryColorLight,
Color? cupertinoPrimaryColorDark,
}) {
return LoadingDialogTheme(
textColor: textColor ?? this.textColor,
cupertinoPrimaryColorLight:
cupertinoPrimaryColorLight ?? this.cupertinoPrimaryColorLight,
cupertinoPrimaryColorDark:
cupertinoPrimaryColorDark ?? this.cupertinoPrimaryColorDark,
);
}