copyWith method
FlyFontWeightToken
copyWith({
- FontWeight? thin,
- FontWeight? extralight,
- FontWeight? light,
- FontWeight? normal,
- FontWeight? medium,
- FontWeight? semibold,
- FontWeight? bold,
- FontWeight? extrabold,
- FontWeight? black,
- Map<
String, FontWeight> ? extras,
Create a copy with updated values
Implementation
FlyFontWeightToken copyWith({
FontWeight? thin,
FontWeight? extralight,
FontWeight? light,
FontWeight? normal,
FontWeight? medium,
FontWeight? semibold,
FontWeight? bold,
FontWeight? extrabold,
FontWeight? black,
Map<String, FontWeight>? extras,
}) {
return FlyFontWeightToken(
thin: thin ?? this.thin,
extralight: extralight ?? this.extralight,
light: light ?? this.light,
normal: normal ?? this.normal,
medium: medium ?? this.medium,
semibold: semibold ?? this.semibold,
bold: bold ?? this.bold,
extrabold: extrabold ?? this.extrabold,
black: black ?? this.black,
extras: extras ?? this.extras,
);
}