notoSerifKhmer static method
TextStyle
notoSerifKhmer({
- 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 Khmer font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSerifKhmer({
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(
'a22154489ac1376c8b1535379f24bf79a225c773c8028c5b3fde54ac22a3d5c5',
103028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5039ba7a81ee08ad6067af9dba9f568d7032608e6ddb5483bf39b85c6f7f6f78',
103156,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'30f60573eea0e9637bedcf8b6cdc313913f141f6d85a734b894b038e32fb3094',
103172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'209d6778570c1cf9f59885d1c2b96fd64184eabe1f80ddb890dc6f71f0e32cd3',
102868,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'929f9f651c4e7f11e02fdd82f8166eba66e507b17ba784a454841f8d00bdc4c4',
103016,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'53279d3146421dfb8903952c8ace3557f00d5a19a3555d1e3382f84cb83c8712',
103152,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'070bbe72fcf0851f4368781e48614b0174e46cf906a4ade7b66ccf4767be3faa',
103024,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cfe3ed4d5854c3926476c6c4c047e52e065221e7a21a7ef719382f9eeefcf9c8',
103088,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'517c5e23d77bdfe3b8df86efdb629b8b1df25b063b234c9e7114cba4e2e370d8',
102936,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSerifKhmer',
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,
);
}