kufam static method
TextStyle
kufam({
- 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 Kufam font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle kufam({
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(
'5c2bb31f9dd171bed88ba502db12721774a13319071394e56e851504328cced1',
141620,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'628f6fa7084fc9014fba2e3c27aba50a901a708970eb6979b3fda1ec867cc2ba',
141724,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'26c69927ca903d5e5ddedc392efcbf0623458d9d352cb29d93560e14a9091a15',
141764,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'18dcfedf39aa5d3740934b3acb3353f04a783bd3837cc96274c8d41714c10959',
141772,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'80506455dc52f96e1c01dc03895ffd7b6acb1f00e8f25fe7e31f9f23ecd11b5e',
141780,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'91956312f9838b7521ffc47c1f995a3e8dab1db5066c4a0c795bb0859bae2d3c',
141636,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'1fb37298bd90094fe92ba44840e627b41bfd6e6efb0815463dd4d930f5c1147a',
73236,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8d94116c2e09feac74f75c363668984bebf577bf9b7ca8536389327c3307d3f5',
73392,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'acba03eb543ba4c89ad5147f7e9e38a08359468fd5207a25654c7ac769fc4f74',
73420,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c905cb847568b45ec8c0e52155436db8588c324545088a9152d3e65b0cec2cf9',
73292,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'65a1ad9ba5604756d5e0cc9e15ad2e96b5eca8118c8686f1b7a60b10853a0d84',
73356,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3d2ee6303973ef6ff89e5b07b8ee5193f461009ed343aea533496c3c5e2f3f15',
73304,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Kufam',
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,
);
}