jetBrainsMono static method
TextStyle
jetBrainsMono({
- 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 JetBrains Mono font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle jetBrainsMono({
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(
'b6186337fb4a1fb4d69dcfbc40343c9b1b9a92abdb914c8ca75fcf36facf6531',
112252,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'02debb673d85a77b0d4110dea247d047a68a944d07346ed02e65d58711e6f517',
112340,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'652a5b0683b0a0643a7e7ab4c8c14b88521ce68f02b5ab1b65bc58f403ec82b7',
112276,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7d41ab308fc765375a9977c24f462964f639e89b8447ac6b149e93dc0e3e7b1c',
112148,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'03083cd96f7727555767b0095bedf4af0c0dff96306810b2f5dd58dfd75eb1c9',
112180,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3b547f18617bbb2ffd2f4a798644cd8f8fbcb016632d3e0ab0f74c3686777a8d',
112136,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2f674294c7dfb5f69ccc111d67fdae26d53b36a06a8aea1a65bb31774fe41a26',
112068,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ff41318fb3dc049d8cfee3628313884ab423810c74ef46749cf1bfda45047b8a',
112064,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'983aacc8ac3772304878c431ecfe92be46dc3f80acd5f022b6f4995ad297ec6c',
115164,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'548b43c912c431fb0cdab59992c3a96297264f87a0d6475fcbab997c52aac630',
115260,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'eb8873a0f0f1be9cd6d705359b3907e048533ffcec8c5847fe0fde8703bc72a2',
115136,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'78ad294b81ad056d3220f69852d249f8a52dfefe2eb156cb0a7c0a842dfde1ba',
114936,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'781a76102b7d8f6cf05914e80e83df7b2eb2eea51c0eaa5cc582466aa9a125d4',
115060,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'14b9f3a3959485c0c9fe25cf218be85ebb2cdb9b57f29277cee5f9fcd059aaa0',
115004,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9141557d5a37ff41b32a2f579bf43e9414f4449add1c6c806851e1d10ae207c9',
114932,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'80db3a73940b07ed2c11f95e7b0bf423f69f0adc67416f60d0e6a04a95be890c',
114984,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'JetBrainsMono',
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,
);
}