copyWith method
Implementation
CountryButtonStyle copyWith({
TextStyle? textStyle,
EdgeInsets? padding,
double? flagSize,
bool? showFlag,
bool? showDialCode,
bool? showIsoCode,
bool? showDropdownIcon,
}) {
return CountryButtonStyle(
textStyle: textStyle ?? this.textStyle,
padding: padding ?? this.padding,
flagSize: flagSize ?? this.flagSize,
showFlag: showFlag ?? this.showFlag,
showDialCode: showDialCode ?? this.showDialCode,
showIsoCode: showIsoCode ?? this.showIsoCode,
showDropdownIcon: showDropdownIcon ?? this.showDropdownIcon,
);
}