fraunces static method
TextStyle
fraunces({
- 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 Fraunces font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle fraunces({
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(
'd900c5e7c21d6a656061f76e8b35850081e6b5f4d1c79b3ccc810de326856264',
64836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'44a19981fe2aa754aaeb06cf74c310df1b0a3f8b39480f0f062c91519630d135',
65092,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4ca9190aefdfe929bf1bf7d8427e0698deb0e431e1d227ab44422fd2f9e6ab0f',
65156,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'6614ff6a91390010260d3a667c5376fe821f8a42cb80b6aafd7cda6742f01bb8',
65180,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'bd1da6d4ca2fb801a00575fc9f126c39971a6bd892c8f0a6e618351a32bef3cd',
65204,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f2479851101e2899e533b00b37198a6d0651c0ec6d71f0ac394b00b9108905e1',
65236,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a93a3e6559a15ea27733c53e6e7502e5cf7293c46a26e9e1fa84705e65b10bc4',
65192,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b03d8878b2e916deb87f3248147de1f5a362a78c9dcbd90d3aa4c4f092d75a7d',
65248,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'627caa3761664db664fc5696dca651dc39185ff859c73f0cf45c6fd5459f3a66',
65284,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'fe71fdadb7f0f3291a48c18ce4ea85c5d43311da4f1cf1beb3c9eb7fdae5578f',
78464,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b026994e693313f3192474e6c97c7342f4bb901f76197c904f2db4716f14a9a3',
78628,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f8ec75b94bf9bf34ce44fa022134ae5cb8f071ebc35e86da2ed1299daff3d784',
78684,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'646ab5bcfa86872b15fc6ec5c75dc6aa5e71959ddd4dbbf7b1379791ad0cacba',
78632,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'89f7a03ab5876ff35d51603bf66e41fc46a218b6990bae89e752844b6a7bd504',
78712,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd58f242796551124a334dd48265d36ee828d367d78e377f599b6efde4325fb0a',
78784,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4e842fa45d7770f0d2be7bae12e6694838b5e7f0cfc4185ebedcad05ccb0c86a',
78688,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9eb1f4be3bb43f44d63b98bfd7ed4ea85c24aeb9bc588b88bef34e42f8e45413',
78720,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'debe015577f85100a540d7110609c10a9ec1818cb48814478ff9401c34a4dfa9',
78684,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Fraunces',
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,
);
}