glory static method
TextStyle
glory({
- 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 Glory font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle glory({
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(
'09ed3d0a56f03fb0771887640a73c7d78983d7b9c453141cc5f51b9b721d5202',
52380,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8177008d4565c2ba78dec1d59aa47f16358193c5d34973ba2fb3bf9114be03a8',
52608,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'545e64f2cb25b2c8616a88edbff4a9f0eb0d6fc0d5e988188dbf25b4b50a6a80',
52636,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c6cc263a3bbe7dff586c72be9701439feeb53fa933bddac39ba89a1a85a611ea',
52660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a8890328016f40866dc9e0c26f7c405d1a7d275396e89f375edcdcc004db0e48',
52724,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4fb2aa2f1e7028bc5e379b586cc06c274d6ccd637f7f59f9e2ac354411384e93',
52608,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c9353f1bb354f11d37f3fd78ca656d3e58a11158adcbbc090fa6effe13e89795',
52552,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0a92e787797333733b70593d726e9b99dd4116d744a72f1132bd4ec50b5319c6',
52580,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'84c681db3fb65e45115345ec54c93c0d489203828b141c906ee8b243cb20bf89',
53992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'00929012e3399ea048fea1569f8deb29fbb5c46e71ad8481e1d3ba7a763ec927',
54264,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2c64ebf935813bf7fa1b7bea736959746321d5f49726ffbad19187962b4fd001',
54300,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'36adc4f2cf10f2207758080dbee6fdf14b5f221286c76c7ee5e6d710e6ec82f1',
54264,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8c0bbd022f057afb52fc013c502664c97a05f676094879708e083032b85193aa',
54368,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'1b79f3b813f68a4a26a3d56dce64ebbc3c19b8ea198fa01dfe028890b64c2c4b',
54488,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'cbcefed43ff0709def09855d6efe084244d529cbbf03c20c799f3b78bd63fad0',
54392,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'097ec11c9d7174b64e61c04d69168d4e6ecfe9961978b59cc295b6f41c949fdf',
54428,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Glory',
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,
);
}