muktaMahee static method
TextStyle
muktaMahee({
- 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 Mukta Mahee font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle muktaMahee({
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(
'f0871c29b49fde1e4cb88d32e00b1889fc0cdcaf44cdde1effe75ef61a6ff538',
118692,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'22cf56c7c7a7117b435aac46e4d7188561c32dba80006a41384174781bf17979',
117756,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cb2f13dbb66926acf753e68f3293650d770a2699060e39a6a0d294792936d617',
120008,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f5dbe3c8fa43132522a4100f2a13fb9ba2e1ec1dfeb73eb98362723f30210edf',
116448,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'24040d912fbaf28b762e873fbe3a51285680d47702efa825881fd8cc2f017bc9',
116180,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a7276b31c4e8cb9fce9add92adb33b59d1fcea5b04349b362085520424990bb9',
116520,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b40a166bbab438a30467e3f354a71047ab69bf57696cd6fb9bdc719cd84f095a',
116288,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'MuktaMahee',
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,
);
}