vollkorn 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 Vollkorn font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle vollkorn({
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.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2e01351a10abce7ebd02220693bd48419165fe6c1b745a867d7ec5855d1ea573',
229048,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'11acb1d4a6b1bafbc915d3534f102e82946664cb177a7ed8249e30b2246328d0',
230508,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'293bd61bf7d50593d1d4ede8c79ca5c5a97787990f7dffcefad63a56c244e4eb',
230572,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a9f3360698cf73ed36e444f39897e66f2fed2d0394e848ebf94351df595bbc30',
231260,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'35d3a1ed173ec4065b4d6a27e53307d8eec975ae50af99c69c0d8bcb9151004e',
231992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd497046a94e1e9ad6b71365d66a1c61bacdac88c4e3e26d297496f25e135c7d5',
231660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b68a775f129a5cc85cfd8bbbf579fb769984ab88b833c9c8c8d59ec8af56c2fb',
226096,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6f7d64f91355fefe206199095d8aa93cf8c926e40f1eaa5ffcb73d031f3d6b63',
226784,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7b8956b3d4e7a5bc2f4d9f67dad05db9ae10b01d817b453aab5311936184308e',
226864,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e96240b16fc6687086cabbfe689502d35800cf766ad6eaac7c8923a0e281bc58',
227652,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e5135bf74bdb4ec314f311eeb09c451fe6011762cc06c7d2575948789a5b68ee',
228216,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'402dab6aa8a46b15fc535cddbf78c34d9d432450a2a7cfb8262963c1e1a2fa4a',
227996,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Vollkorn',
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,
);
}