tourney 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 Tourney font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle tourney({
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.w100,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dcc4104b7d2b26c1306a5be4c38d829c2ff330a86a72ff48af28112f9dad0809',
61996,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'553cbbdfdac8c2002b9e523ec584e9cb86ba5728c4fdee02fd01d36fcc1b16d5',
61996,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'e9e52f3a065ec444566492987208a8a22846e9cba9b1ef5074388e32ceebf5a3',
61976,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5b3090c016cdeb332db1b1ac96f80ce2b1010ca0840158e72926035e7ffd6366',
61984,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'25c3d7a5c16f78865a2e2e2d5e312b8fe38f139284a0c90b184f7790414c4c7e',
62000,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'43893ebcc8c70f40b5546b47f81ef125ff0d8ff287195143b4c91fc5ea581343',
62020,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ee8abe60654010cce73b3cebffcd1f7653f7d97bdc1e1b01bd194d3fe953aa0a',
61972,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7a23e941fd46a55a51100621fbc01aaa1f37ba18616f631f618ed9d6147177cd',
62100,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'52b8722d412965a7e27fb090e7b638420743e512e64791743a530f6737119242',
61640,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4155a609cfcf5226339358af07ffcc3f106cab4c81947b245d1967eee3b7dc96',
64620,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f31ae834f2ece3391595cfbdbc7ff2d21a9e3b5bcca1ca34b70801ba419fe5c1',
64716,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'adad837c58c7421e56d69101ffc45b9af45d19b0d9be544d79167745ac6f29a2',
64652,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5c6e5fcc3ca13a502d74aa8260733dbe7c6310ffe66b2f26f51dd94b45392a00',
64576,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'80e2684f828e47e8282da77f9a4231fa70ac0d491f46cd89a958a14d289f65aa',
64676,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2e1fbad3490d66203b3a2749f4361040374fc263294e6ea646ebfe27ff2eeb03',
64692,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3339dee2d44955ddd5757f99bc66e13724a5012c4e645cc73aec0169b0ee3560',
64620,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'deb2823f0f763754a97643d6c6ce11e998c417a267e8e2906726d7f4e86565ff',
64748,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'47130978382c749d6eb4ef062890196bedff620c8af475bbe7baba915d00785d',
64112,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Tourney',
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,
);
}