mulish static method
TextStyle
mulish({
- 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 Mulish font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle mulish({
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.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'12595982476ede715b30794b039259d9a360f6e61e1439c920dff3adc866d137',
103212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd9a3f1e9e9af61d2bf0fc641c6ed829922e8b22b0eee839f3b536d3cd0b9321f',
103392,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'6da32ef56568e1a2477860b22ddca19fe275c29e19d0470c8999bcc78d2e1aa7',
103340,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a79067558bb413aebf6c365cd5854ecbdb3dfb8af238678c42715f0c572190c1',
103392,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'464b83c96c4c4c1a03785120d25e8f72b39095f7ffd98d12e0401562eb0dc69c',
103336,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9bf55c64455d07a31836380138a7d2355922fdd6f672d8b0baa6ea8973f5107b',
103380,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'e53fd77e44d7a9976a60b9623cff83faf1f075ef3c86d92153c625a79b1d492e',
103368,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'75b00c0c674ad3ca189a1ff502177ab961cd41e49131c9dc610bbfa51fa38411',
103400,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'980508f06bff4b4083216861af788d69e42eb2d2e919a4ffe1e15ae1b8f1288d',
106456,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5a36e4ade92adea249982da2b63e6a6d24b6cbe772a72a001aea9ab63aec6bb8',
106628,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6bb771e01bbce36cfbeb1d9f1aef082ade6aa5ac06565a0e40ee52b89577ce36',
106480,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9ce267d022cec9d5b5d615e1ecf59a4e916a6f93dd5e8a8eebeb48ddb5a45a6c',
106604,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'64c72f245ac62a9363ef1f6aad4cb566ef994405022683f1dee295ee160a7b80',
106572,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2e1bb99a690cb7c07eda340af07819b9f84aeed06ae060583727ec4b9c4df646',
106696,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'006b02f556ab15df033650b47defb707dc1d0828293b9b0c15b6e80f62b1c2ec',
106716,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'944de3934b4d7d5ba0a81cbd3b826ebd37576a885204ce38dc2cbaa350ce632a',
106644,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Mulish',
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,
);
}