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(
'2bc91953c8ec4193159c0e3a2c39cb1c44ca62e25888c6bc07c01167cf92c4e7',
141592,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'995ac35be4ea4e8524ea8358b56eb3be5944f06b950b0d860770035bea0871e5',
142900,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dcb289785ee3b5a7e45c14edb9d26654a6f183c59ed9b9eb81a029e274414425',
142968,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'e1b972c3f8af893acd21ca0122cb78920ba4a26d9bbc845f6b7a2319c1cbd8f7',
143048,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b333bb450612489ca1b975fcf8a9d0227e2a0cd2411d3674bbe10461bc7addb4',
143176,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cf514f58d1e2a4def6db25575e39a4e5ef00c41dd74ef2c39905fde47d03914d',
143224,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'596a00045ea229d9c66cb558f525ba23ec9cc47768e07d2ca7a0e1b07799d16d',
143148,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c59e65546beba80602974c6d8afe252ff3c2c56d4e08f2bb75af9a499cd95506',
143320,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'952008d1bad4a896e4f14a09e26beec388778b1291760a752a2e1c3fbdf77444',
142940,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'59d02a53284605bd6557ab8c998b4d902e9abaf63e8e90f92b172987ce028405',
139172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'66115c793b2825bdfe72992c7deee55d50fc06005f608e2b65fa7ff235d916e5',
139992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'1b99eeba0b887e19a000b397d97c0a3f7d4d2401f4436467aa0af0b0d20ac167',
139992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'03d06376318171cfd4d555fc808feb6269e817d6aecfd0a7a591392b275a117d',
140012,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b2a23f9ea3c8278dbe81320bb22babf2374faa56c2c72cb891da79c136c8cb27',
140112,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0c7bafea4ecdcb8b4e75925423e0a85967ac13ddc315a11f467b80496739d4f4',
140028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'02102264ccf24e4f1b8ced1f36582ecf39f839e754e93c5a39ae572f1a97f56c',
139932,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f0f6ff678a8889e57f27a4f0242fbeb57359b9b3377e5c4fcc6ce05f377245f4',
140080,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd0c5b3a3070b9f11a0e9810eb59e60725e80d3ead314375457d691684d46f782',
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,
);
}