copyWith method
Create a copy with updated values
Implementation
FlyTextStyleToken copyWith({
TextStyle? xs,
TextStyle? sm,
TextStyle? base,
TextStyle? lg,
TextStyle? xl,
TextStyle? xl2,
TextStyle? xl3,
TextStyle? xl4,
TextStyle? xl5,
TextStyle? xl6,
TextStyle? xl7,
TextStyle? xl8,
TextStyle? xl9,
Map<String, TextStyle>? extras,
}) {
return FlyTextStyleToken(
xs: xs ?? this.xs,
sm: sm ?? this.sm,
base: base ?? this.base,
lg: lg ?? this.lg,
xl: xl ?? this.xl,
xl2: xl2 ?? this.xl2,
xl3: xl3 ?? this.xl3,
xl4: xl4 ?? this.xl4,
xl5: xl5 ?? this.xl5,
xl6: xl6 ?? this.xl6,
xl7: xl7 ?? this.xl7,
xl8: xl8 ?? this.xl8,
xl9: xl9 ?? this.xl9,
extras: extras ?? this.extras,
);
}