notoSansKhmer static method
TextStyle
notoSansKhmer({
- 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 Sans Khmer font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSansKhmer({
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(
'34a5734dfa39b5aaa66ca9a4f8d6da2ed4653959ed4c6027a6d6b9661482ed14',
75128,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9766b1bb2fc5af105e5252e396f60ee218cded215162bfc1ab60a53125e749b9',
75144,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8c6b68dc4f2cef9b3ca4d40cdda7fa015eadd62e5645d5ed38f573623c6f2bb1',
75104,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a48bdce4f9fbdca3348c6244ee7367683857b3ab93778c1e6314d93f04d1404a',
74576,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7995d153a6aad5bfb8867b9bda780c538d6486f2940b2cb681eea8715c2fe2f0',
74984,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a595703466a3e9414ddb044991a63ce31fe3b4c9d954ecfe5c03030a7c0adebc',
75004,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'092a39939a4706b2b1cdcbfc0a4bc5d616cbae015b6343271f70a0b188c46829',
74948,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'48f8fa4037d15177ae2198e70c2b765dae0c7659f3d820aabb0273fe2c96b3bc',
75084,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2a99d8b439840b2ea7e1cf524ebc699d738e78d945de10701a4b05ece8355abc',
74964,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSansKhmer',
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,
);
}