faustina static method
- {TextStyle? textStyle,
- Color? color,
- Color? backgroundColor,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- TextBaseline? textBaseline,
- double? height,
- Locale? locale,
- Paint? foreground,
- Paint? background,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness}
Applies the Faustina font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle faustina({
TextStyle? textStyle,
Color? color,
Color? backgroundColor,
double? fontSize,
FontWeight? fontWeight,
FontStyle? fontStyle,
double? letterSpacing,
double? wordSpacing,
TextBaseline? textBaseline,
double? height,
Locale? locale,
Paint? foreground,
Paint? background,
List<ui.Shadow>? shadows,
List<ui.FontFeature>? fontFeatures,
TextDecoration? decoration,
Color? decorationColor,
TextDecorationStyle? decorationStyle,
double? decorationThickness,
}) {
final fonts = <GoogleFontsVariant, GoogleFontsFile>{
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5a625513eb984f115d79d3507c74bda76f6b99d363cf7713c4f77e6a626c9a23',
69308,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'efb4c183a4c6e8cdc593af93adadea6dea9ce647454d39c7f7b3fd4e2068122d',
69464,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8064c05d29d17a9cb10ffef380f1c1f3cf1f4da165181ee992bd9554e05cf5cb',
69564,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'11e2ea82747c58afaa06c21869ddeb12c5b3b30b6e63d8a1161547ba34c32e34',
69500,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4fa14e1fc56ce27be0430a32a6eddc2ca431fb4e5800d9c518a8143e2160b731',
69328,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2fa5cc845e1bf42800604b29014f11017446276a0b2ebeaecd3f53cd3bbb83e0',
69516,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5d95d3f7f5835219904e868967d018eba8e5401d3035b834f857c78e16b85294',
70980,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'20f4652bde21faf78ff6142e45ca2376ab3ed905b5a13826373333499634dbc5',
70808,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f8484d35ac20426b400f50f3dd5ad8fe9983491976de9bbe1b5c13fb2aadfc4b',
71000,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a8d4237a337047864fe16f02c75bdb5033c620e4c08d8bda087a17059a9048a6',
70968,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b04bb75c42acb0e1c3637edff96486081180423f24a59573862fc3688b968458',
70836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f04a6a938d3c0473360163571e5448b62efa3fd9071303bc5c5ed92c167c5237',
70964,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Faustina',
color: color,
backgroundColor: backgroundColor,
fontSize: fontSize,
fontWeight: fontWeight,
fontStyle: fontStyle,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
textBaseline: textBaseline,
height: height,
locale: locale,
foreground: foreground,
background: background,
shadows: shadows,
fontFeatures: fontFeatures,
decoration: decoration,
decorationColor: decorationColor,
decorationStyle: decorationStyle,
decorationThickness: decorationThickness,
fonts: fonts,
);
}