copyWith method
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
SACThemeExtension copyWith({
double? inputHeight,
double? phoneFieldHeight,
double? dropdownHeight,
double? buttonHeight,
}) {
return SACThemeExtension(
inputHeight: inputHeight ?? this.inputHeight,
phoneFieldHeight: phoneFieldHeight ?? this.phoneFieldHeight,
dropdownHeight: dropdownHeight ?? this.dropdownHeight,
buttonHeight: buttonHeight ?? this.buttonHeight,
);
}