copyUpdateAll method
HubbleButtonStateVariant<TextStyle>
copyUpdateAll({
- double? fontSize,
- Color? color,
- FontWeight? fontWeight,
Implementation
HubbleButtonStateVariant<TextStyle> copyUpdateAll(
{double? fontSize, Color? color, FontWeight? fontWeight}) {
return copyWith(
enabled: enabled.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
disabled: disabled.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
pressed: pressed.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
caution: caution.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
progress: progress.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
success: success.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
grey: grey.copyWith(
fontSize: fontSize, color: color, fontWeight: fontWeight),
);
}