ibmPlexMono static method
TextStyle
ibmPlexMono({
- 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 IBM Plex Mono font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle ibmPlexMono({
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(
'c8a02e209ebe63f14ad492eab9cbcb1fd237b8a5609ca54b39fd672da34358b9',
62228,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c73d7f652da8ea80a231933da2a0022150569938c4741125d53f3e4752605adf',
68732,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5fb0773f2759907eee709e88aaa1a553a97c9e5208a354c107250004e3b992b6',
61852,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0636ae1c8b26a7239caa965f96d4ae2e93ca09e705278a12b963f3a5addda916',
68696,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b0c367b80ccbe3dc095c9ada84e57cf408b2aad2542f196a05d743544b1807cd',
61600,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2edb6e6dd5710db61cbbf8465c257cc60eaaf6763f4d4e029614376be733aaff',
68300,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'54c2e14fed076babcdedbd87affbeefa1c4a824ee8ab24c6a1125f2a5a9187dc',
62212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'73b835016b8e2ade83e7631834b92aa6256d559e66ebb2d61ffb21f8c6d41f85',
69108,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'76f8623cba0e77da46488cf2a612bed776a1dbf19c0824882e1b18a74cc1c570',
61752,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5348703f032242c80f74b89dbe59473d303416d0695bf432c0f506c5f88cdbfb',
68348,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2a56c9f337926937a5df99880451b3e6064b8aa2d6b808e21088eb1afdcc422e',
61712,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'84ec22bc0db81eef0294fbb07c43fa36d8414629f66ee9c0536a96c36c05ba0d',
68024,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2ba78dfc4b82f21c16fe208e5f5b91b5fad9215580e3c1df2e7b211955199467',
61748,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9a9626225f48ddbd3a37c9a73ad5e08821dd51a787df4ac15b0fb537db242154',
68408,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'IBMPlexMono',
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,
);
}