FTypography.inherit constructor
FTypography.inherit({
- required FColors colors,
- required bool touch,
- Iterable<
FScalableExtension> extensions = const [],
Creates a FTypography that inherits its properties.
Implementation
factory FTypography.inherit({
required FColors colors,
required bool touch,
Iterable<FScalableExtension<dynamic>> extensions = const [],
}) {
final typeface = FTypeface.inherit(colors: colors, touch: touch);
return FTypography(display: typeface, body: typeface, extensions: extensions);
}