copyWith method
AppTextTheme
copyWith({
- TextStyle? speakupTypographyTextXsRegular,
- TextStyle? speakupTypographyTextXsMedium,
- TextStyle? speakupTypographyTextXsSemibold,
- TextStyle? speakupTypographyTextXsBold,
- TextStyle? speakupTypographyTextSmRegular,
- TextStyle? speakupTypographyTextSmMedium,
- TextStyle? speakupTypographyTextSmSemibold,
- TextStyle? speakupTypographyTextSmBold,
- TextStyle? speakupTypographyTextMdRegular,
- TextStyle? speakupTypographyTextMdMedium,
- TextStyle? speakupTypographyTextMdSemibold,
- TextStyle? speakupTypographyTextMdBold,
- TextStyle? speakupTypographyTextBaseRegular,
- TextStyle? speakupTypographyTextBaseMedium,
- TextStyle? speakupTypographyTextBaseSemibold,
- TextStyle? speakupTypographyTextBaseBold,
- TextStyle? speakupTypographyTextLgRegular,
- TextStyle? speakupTypographyTextLgMedium,
- TextStyle? speakupTypographyTextLgSemibold,
- TextStyle? speakupTypographyTextLgBold,
- TextStyle? speakupTypographyTextXlRegular,
- TextStyle? speakupTypographyTextXlMedium,
- TextStyle? speakupTypographyTextXlSemibold,
- TextStyle? speakupTypographyTextXlBold,
- TextStyle? speakupTypographyText2xlRegular,
- TextStyle? speakupTypographyText2xlMedium,
- TextStyle? speakupTypographyText2xlSemibold,
- TextStyle? speakupTypographyText2xlBold,
- TextStyle? speakupTypographyText3xlRegular,
- TextStyle? speakupTypographyText3xlMedium,
- TextStyle? speakupTypographyText3xlSemibold,
- TextStyle? speakupTypographyText3xlBold,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
AppTextTheme copyWith({
TextStyle? speakupTypographyTextXsRegular,
TextStyle? speakupTypographyTextXsMedium,
TextStyle? speakupTypographyTextXsSemibold,
TextStyle? speakupTypographyTextXsBold,
TextStyle? speakupTypographyTextSmRegular,
TextStyle? speakupTypographyTextSmMedium,
TextStyle? speakupTypographyTextSmSemibold,
TextStyle? speakupTypographyTextSmBold,
TextStyle? speakupTypographyTextMdRegular,
TextStyle? speakupTypographyTextMdMedium,
TextStyle? speakupTypographyTextMdSemibold,
TextStyle? speakupTypographyTextMdBold,
TextStyle? speakupTypographyTextBaseRegular,
TextStyle? speakupTypographyTextBaseMedium,
TextStyle? speakupTypographyTextBaseSemibold,
TextStyle? speakupTypographyTextBaseBold,
TextStyle? speakupTypographyTextLgRegular,
TextStyle? speakupTypographyTextLgMedium,
TextStyle? speakupTypographyTextLgSemibold,
TextStyle? speakupTypographyTextLgBold,
TextStyle? speakupTypographyTextXlRegular,
TextStyle? speakupTypographyTextXlMedium,
TextStyle? speakupTypographyTextXlSemibold,
TextStyle? speakupTypographyTextXlBold,
TextStyle? speakupTypographyText2xlRegular,
TextStyle? speakupTypographyText2xlMedium,
TextStyle? speakupTypographyText2xlSemibold,
TextStyle? speakupTypographyText2xlBold,
TextStyle? speakupTypographyText3xlRegular,
TextStyle? speakupTypographyText3xlMedium,
TextStyle? speakupTypographyText3xlSemibold,
TextStyle? speakupTypographyText3xlBold,
}) {
return AppTextTheme(
speakupTypographyTextXsRegular: speakupTypographyTextXsRegular ?? this.speakupTypographyTextXsRegular,
speakupTypographyTextXsMedium: speakupTypographyTextXsMedium ?? this.speakupTypographyTextXsMedium,
speakupTypographyTextXsSemibold: speakupTypographyTextXsSemibold ?? this.speakupTypographyTextXsSemibold,
speakupTypographyTextXsBold: speakupTypographyTextXsBold ?? this.speakupTypographyTextXsBold,
speakupTypographyTextSmRegular: speakupTypographyTextSmRegular ?? this.speakupTypographyTextSmRegular,
speakupTypographyTextSmMedium: speakupTypographyTextSmMedium ?? this.speakupTypographyTextSmMedium,
speakupTypographyTextSmSemibold: speakupTypographyTextSmSemibold ?? this.speakupTypographyTextSmSemibold,
speakupTypographyTextSmBold: speakupTypographyTextSmBold ?? this.speakupTypographyTextSmBold,
speakupTypographyTextMdRegular: speakupTypographyTextMdRegular ?? this.speakupTypographyTextMdRegular,
speakupTypographyTextMdMedium: speakupTypographyTextMdMedium ?? this.speakupTypographyTextMdMedium,
speakupTypographyTextMdSemibold: speakupTypographyTextMdSemibold ?? this.speakupTypographyTextMdSemibold,
speakupTypographyTextMdBold: speakupTypographyTextMdBold ?? this.speakupTypographyTextMdBold,
speakupTypographyTextBaseRegular: speakupTypographyTextBaseRegular ?? this.speakupTypographyTextBaseRegular,
speakupTypographyTextBaseMedium: speakupTypographyTextBaseMedium ?? this.speakupTypographyTextBaseMedium,
speakupTypographyTextBaseSemibold: speakupTypographyTextBaseSemibold ?? this.speakupTypographyTextBaseSemibold,
speakupTypographyTextBaseBold: speakupTypographyTextBaseBold ?? this.speakupTypographyTextBaseBold,
speakupTypographyTextLgRegular: speakupTypographyTextLgRegular ?? this.speakupTypographyTextLgRegular,
speakupTypographyTextLgMedium: speakupTypographyTextLgMedium ?? this.speakupTypographyTextLgMedium,
speakupTypographyTextLgSemibold: speakupTypographyTextLgSemibold ?? this.speakupTypographyTextLgSemibold,
speakupTypographyTextLgBold: speakupTypographyTextLgBold ?? this.speakupTypographyTextLgBold,
speakupTypographyTextXlRegular: speakupTypographyTextXlRegular ?? this.speakupTypographyTextXlRegular,
speakupTypographyTextXlMedium: speakupTypographyTextXlMedium ?? this.speakupTypographyTextXlMedium,
speakupTypographyTextXlSemibold: speakupTypographyTextXlSemibold ?? this.speakupTypographyTextXlSemibold,
speakupTypographyTextXlBold: speakupTypographyTextXlBold ?? this.speakupTypographyTextXlBold,
speakupTypographyText2xlRegular: speakupTypographyText2xlRegular ?? this.speakupTypographyText2xlRegular,
speakupTypographyText2xlMedium: speakupTypographyText2xlMedium ?? this.speakupTypographyText2xlMedium,
speakupTypographyText2xlSemibold: speakupTypographyText2xlSemibold ?? this.speakupTypographyText2xlSemibold,
speakupTypographyText2xlBold: speakupTypographyText2xlBold ?? this.speakupTypographyText2xlBold,
speakupTypographyText3xlRegular: speakupTypographyText3xlRegular ?? this.speakupTypographyText3xlRegular,
speakupTypographyText3xlMedium: speakupTypographyText3xlMedium ?? this.speakupTypographyText3xlMedium,
speakupTypographyText3xlSemibold: speakupTypographyText3xlSemibold ?? this.speakupTypographyText3xlSemibold,
speakupTypographyText3xlBold: speakupTypographyText3xlBold ?? this.speakupTypographyText3xlBold,
);
}