copyWith method
- @useResult
- FTypeface? display,
- FTypeface? body,
- Iterable<
FScalableExtension> ? extensions,
Returns a copy of this FTypography with the given properties replaced.
Implementation
@useResult
FTypography copyWith({FTypeface? display, FTypeface? body, Iterable<FScalableExtension<dynamic>>? extensions}) =>
FTypography(
display: display ?? this.display,
body: body ?? this.body,
extensions: extensions ?? _extensions.values,
);