bitter static method
TextStyle
bitter({
- 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 Bitter font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle bitter({
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(
'f17a165144701641df6b2744e02c82832a519761eaa9e5048c2c6da1968a4e59',
141592,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'452a977073c54b94897015a16021be36d9a0f2e02fa4ec03804120b85dc29c03',
142900,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1eaecd52edd3ee94e4346e796dba245b0d7d1323d7996e16f51ffc2e7d01b157',
142968,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'6b2aefc0b2e78458ed9e9b22172ca759377e3fe411483172d4440b370dbb6c4d',
143048,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'80a89601751473c6fae921ec8343ef11a5936b30dc9378cef38e3dfc387ee5bc',
143176,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3a58c8005008f312d018b71a8746104c4c0f9befd6920a78d17fe8a9f07ad54d',
143224,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'e78f30fbb2e02e8c49249616ce88b291aa75a856010cf0f702c1e32fbeb4e1d2',
143148,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'27f7ba98b95a17426352c16a04efa4db8150be23f1399800ab7e699e154c1482',
143320,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0a2bd0e8116634646943791734a54b169060e9f41f55c8b1740676a2fdc5c635',
142940,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'587d34e61bc33f9c0ea8655db39fa783060010dbd706995367830cf3ae9b3635',
139172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6ff686beb2aa1e5d8b199895639619af52defbbba0985de9c4a56dd8fffc78e4',
139992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3267071c05833e7e4cdc52abcc9ecdace03d03c69e209c108fd72a84e3984829',
139992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5e6e17d5e1f75443f11eedcbe0eb1bec4a5c8c4dfd5f6a9e4db925116ef9925e',
140012,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a1825d2ae2a9cf8435f0d065aef9bab012787ca09c138f676887d77b69a7396f',
140112,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b542b8f09fab4350c5c48cab2e982ec37d0cb603386852ca4bb5f9a9549ea2b8',
140028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b54598360de0d9e2ae0641f0b3490a30a08fee00550f5453652f0551486e4a6d',
139932,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b219eae9fe3e53879dd13b4afa2ed54a6fdb88e0df546046f21482a084f92622',
140080,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6ff23bac5f13c262cd6f4d0ee486f6a52e543090e1c2d52d660359a007e0c0e4',
139904,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Bitter',
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,
);
}