notoSerifDevanagari static method
TextStyle
notoSerifDevanagari({
- 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 Devanagari font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSerifDevanagari({
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(
'66395587edac09a0f33e91f5270d47966c61eebb9fa59fad1a059a81fc8ecb5a',
207236,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1f3d68879c0fb88812e86dcd4b5e7f1b61dbf1e5ac097f9bf0d49149a8956fbf',
207524,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b67401f862528a0f0652a86f546f373d763ce91c5c07fef2712ba9958859ba9b',
207548,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3c9f9d75f8928df35b65ab4bce546f7193a064d9e4c9e0017cdd4a050fb633f3',
207416,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'80074d13ad9fa798a106c862b00ccc87667984e1a41b76ba6d90b9fdad903fd5',
207856,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0910c53ae1a817429dc97b3c89149cd80269eee300ac22a66e0572f6f0ecbbd6',
207916,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'09e1333fac46bcd14dd7c4fb53ce7c024e51d0eda1c934e1b6c1ff81c7b328fc',
207824,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'24337c4f15e9ec690d7aea2c386d2b085d05864ddc43a5153e0f8950401bc0dd',
207960,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'02b608f51be89d6d735ebe3a2eb8b69091691482135844846a73fe91ed60dce7',
207868,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSerifDevanagari',
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,
);
}