notoSerifGurmukhi static method
TextStyle
notoSerifGurmukhi({
- 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 Noto Serif Gurmukhi font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSerifGurmukhi({
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(
'8faa9593ea3289b091ef55d9a28bd34984c73af0b6ad1111dc5aebaed2fde082',
36484,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ddaa3bc6835305b49ccf96ff2c45ab113650c8b310f8c570f1e54f5de45f3425',
36660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9276150cb2e7ac7a9fa56abb95bcd6ab4c5ba48f5c65504fa954a11609621b52',
36632,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9d2577b805ed0e43f3e28734495abe8a70773171361f798aa190b9569d4084f0',
36616,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'065e04c9eab52a97f16466e777d636d0ecc117c099fdd6d3f259b33cd2f11f83',
36636,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'fe4a5bc0429a671257f73c54e8e5b47953de3f38f3e95aa83a649da5c22febcb',
36672,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5a11c83ca8a1ab218076d0a2f5b1a10b5d3a630a95806111d187f7b422e3b9aa',
36580,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8ffb09105c294b294f514d5cb9c97ac8a05bb24d42521d52fc0a6359e3759dae',
36668,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'016eb1c3fb10f6e75ebc5165a2dbbfb7d9042a0683e6c2b0dbb14c0db23d5ca4',
36516,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSerifGurmukhi',
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,
);
}