copyWith method
WiredashTextTheme
copyWith(
{ - TextStyle? headlineMedium,
- TextStyle? headlineSmall,
- TextStyle? appbarTitle,
- TextStyle? title,
- TextStyle? button,
- TextStyle? bodyMedium,
- TextStyle? bodySmall,
- TextStyle? body2Medium,
- TextStyle? body2Small,
- TextStyle? caption,
- TextStyle? input,
- TextStyle? inputError,
})
Implementation
WiredashTextTheme copyWith({
TextStyle? headlineMedium,
TextStyle? headlineSmall,
TextStyle? appbarTitle,
TextStyle? title,
TextStyle? button,
TextStyle? bodyMedium,
TextStyle? bodySmall,
TextStyle? body2Medium,
TextStyle? body2Small,
TextStyle? caption,
TextStyle? input,
TextStyle? inputError,
}) {
return WiredashTextTheme(
headlineMedium: headlineMedium ?? this.headlineMedium,
headlineSmall: headlineSmall ?? this.headlineSmall,
appbarTitle: appbarTitle ?? this.appbarTitle,
title: title ?? this.title,
button: button ?? this.button,
bodyMedium: bodyMedium ?? this.bodyMedium,
bodySmall: bodySmall ?? this.bodySmall,
body2Medium: body2Medium ?? this.body2Medium,
body2Small: body2Small ?? this.body2Small,
caption: caption ?? this.caption,
input: input ?? this.input,
inputError: inputError ?? this.inputError,
);
}