fahkwang static method
TextStyle
fahkwang({
- 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 Fahkwang font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle fahkwang({
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.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'07a682d6bc044cbd486744e34dcb061077bac07d9501f34c8f50b67aa2c02b7f',
79476,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c9cba18dabd9762bcd5cd460bbc145d71a364a65255b3ff8514cb385997506c8',
82060,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a4f936e2bce0a9dc318b8e50537d34ffd7475cd6199842a810f7b9ef9072cdae',
79520,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a1ef09b096105c18faf5fadb52cbeb7979873ad7e9d50910b116ce244b4fe166',
82128,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9e288aad85ecd44f0568c3d218d1478f896a2e9656dea8978a0462f0432102f7',
79356,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd39b9b3782631bd9e5ca85b327f2e86ade2f88ca6d30a9f85112209c08f703e5',
82044,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f7b5bd7dd6726ca8619156e571f3ab9429a229e110e87eb4807508a6e603b055',
79100,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'99dff1eec80cee80e76e31de570b32a627c8b114c5f4a6edda2349c62ef7eb9e',
82064,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b415ad58dda4167eef2957ac799ec99e305a626797d3f015c814096dcab8244f',
79136,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a3cb35f606a6f504a703c26834f242e79e57064c9cc15b016acd7ead15c1c379',
82048,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9d4c87b61ab6b7a8c8fd345b20f1bdea3f0eaf90b1f3d014ba9a1aed4df71bc5',
78988,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'02444f0d64cab232aa85ca6646af07c761791397753194217bec25ee19e4107e',
81940,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Fahkwang',
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,
);
}