jost static method
TextStyle
jost({
- 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 Jost font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle jost({
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(
'08594cd3fa8cb86a6f654c3d9981977cd98e43664fccce5caf97f70fd0053e4a',
58840,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd1bd4ef07a6da6f41395dcf86e90465ddd3575901d4c736fc48a44c114f0edae',
58956,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'68833afc695f020a331fcfc6a9c5d931e0e6ba7cf392714f0e6dbed1fb11e472',
58880,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'544a7ed5e223ae1589dba675ffd6b7876b5395d4b3e8813bc700d929a60d840c',
58772,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ea76982facfc9ce34642975b991cba341c55fa9bbad007c509ffc16bdd674919',
58908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'550965f5edfd3e28407dbd159a90223e42126cd4c76c51e6c3bdc3e262c1c069',
58908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'481b9214d5ebd78493134026b5fe5bbdc84037ec25e640a6517c2313ef1d28cf',
58852,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3b8f6066d6a86d43d04fc4e1ab1ea7195210c88bbf60f072c522b6b262b08c7d',
58972,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'04ca5fa646954b7ceb7852c997835911875bfec3966f7d1ccec88da5fa35d737',
58944,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ffa06c673e3cfbdcd9e389f7f8385312884509992592f1eb3f17a39d3dfeb142',
62244,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b031c9b740ad3b636d7331fc73e563a576e43976e265d1f1b8d8e41916017a7e',
62460,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0c9d866ef6d4a45d0147eb54b52373dc693977931a99bd2cadf83f1187298b35',
62608,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3498311cc11b78292e590aadb49288eba847f5255a609b1811f50b52addab667',
62556,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'aa12ddeb80bdfb10ed65a66ba0f8adf3ac66648798e0274420c30eb5060d388a',
62676,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5efe68765a3556e28918e22269dd71acd300c232d5861c2fd5fc36ed99fcaacb',
62668,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'406e1dafb5cc1ae008df374e33c5821ecd9607629f121021f8d37e3b0120bdd7',
62524,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'09aea1ccd358271bba6e5031d8184b405424cc91c7adb9eaed01520ab7e05cc4',
62636,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'fe5f39b5f0c38b87cea5f611d3cda39162ab5f283ce06600fbde5dd0d734e896',
62616,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Jost',
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,
);
}