copyWith method
FontOptions
copyWith({
- String? fontFamily,
- FontWeight? fontWeight,
- FontStyle? fontShape,
- List<
FontOptions> ? fallback,
Utility method.
Implementation
FontOptions copyWith({
String? fontFamily,
FontWeight? fontWeight,
FontStyle? fontShape,
List<FontOptions>? fallback,
}) =>
FontOptions(
fontFamily: fontFamily ?? this.fontFamily,
fontWeight: fontWeight ?? this.fontWeight,
fontShape: fontShape ?? this.fontShape,
fallback: fallback ?? this.fallback,
);