bitter static method
- {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(
'5018aaeabecf1b767fe2ed4cae7af2dd720c06fec718506fc57c926bc95bbf26',
141588,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'94a2d8f4793ff2bf1bec92854e20f072af97076318eb44b96ac2b0d4cbfaef60',
142896,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4e4928400760c29c14e4f96f2792db4931def5b6006df332ac3fd3810d01795b',
142964,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'88b3ae2ae9f6af89042e18d19d40c64485159f006cca4c47c6a3449c32c0154d',
143044,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'80dab54ee31130241c0651cc341c23307f3634a2e55435d7b829b7589cab255e',
143172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'71da48e237a280b44caa7d3371cd2e93d47e8fef1706dee5ad6ed58e0795f679',
143220,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd9784137f7f228e4c8de723ea043e840d131cab7e3a31c019c90a56ce4897fc6',
143144,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3530e01d9a356570afa0508cbdeaae4e7704049a90a210c4f1d30335f452e550',
143316,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4a282fb518980afd66bda18dca19af7d2a0b469b6c9d4ab0c2510e8a2ce1796a',
142936,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8bb8ff0221f63025959032c97982134da32dd3484de1541a8a594a810775243e',
139168,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b5c7f5322261fc8a14734bcbafe456f4533e77c408822918b6d2bff07dcdd818',
139988,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0b4e7faa6bd2fd26c9d34518aef021d9f2d03d110ac9c05215b74a02988c729d',
139988,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6b043dd1688d74302da74a4f3e1422c50100bf256dede0abff0319fc4f3b383d',
140008,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'595c939550bb4f307162b9ed57ca345256b1e09484b3dbb99a4a17ae5b43349a',
140108,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7fd9892bf78797e48149b677f4bef30102cb33d76f5f1e5ec17c63cda5394e53',
140024,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4f22270aac1d8c643e887de3745d945c3f00696cac3967b303cbefe41b347beb',
139928,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7ae8e6e597d6d3dd8f929976ef6c74d42afca8df732730de2afcadeb57656960',
140076,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4c5f3b2b01e70b3f731f6afb39548d08af4842283f949c6d41603598bc2386da',
139900,
),
};
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,
);
}