vollkorn static method
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<
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(
'57339b56d490d036f9e78e7e677001e871a750e7dbc4a84a3fe78b942d2dbfa1',
229680,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7eda8534cf11e6cac53066a7280dd40888cb236cc91c10bfba94cdc8cbf132f7',
231132,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'bb39de25034a28ffd34494ad7b1134a60cb89f93da4b35ff7fffcadfdbd86a96',
231184,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3bc952a2858825e786f040514b7fcd73f34bfa35cacda7c4deaf1607f63ffc5b',
231120,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dc71dda6cccfe17758888d9b02cba1ec80f96d9c61bce4d656629c9abad2665b',
231264,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a81e8727039949b0b0f4beee08951032391b287ff36b2b185fc6693817218501',
230908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'696589389e38efff66da271975ef55f44477dfbcca03f1f2f70396113bcba247',
227252,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c827ecdf5318680dfcfb4d099ff128e85c14327f2e7489fc9ee817ac8067416a',
227940,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a91c38d47074a9b1530b85c5fb2e33efa9861c9e681bbdd43de67810e58b2f8e',
228028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7d22ca4c6c4a3db99f4d6b4788e231841cf43259330c91a9bcb7ce1ba530e91c',
228028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c5cd0748ba7148ed965f2dc1860e6f0fb534ce9cbf25e042fba6b7901b125c44',
228160,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2f6bea77972f9dda2f6ed805c4325ae260c15b0b0646adf7ada28c457489d503',
227924,
),
};
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,
);
}