notoSerifDisplay static method
- {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 Display font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSerifDisplay({
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(
'45647ed59cdd8b1fbde39de8a0fdca0b11cf6d2649854c62ac8b76fc486595f4',
397676,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'824bd16535bc61d3e75ad55ae7d94dc851af38999eb8e584f43e833005a1ab4b',
398216,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c24210e7c109d9fbe1f8221cb14f30888736b094cbad454cb994f8ade2332568',
398376,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'35e92e948cffac6ff8a924a3cfda0dadb578fbc0d231cd3cdf9772107afa68f5',
397444,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a9f807f54a5419bab719856efcd290ce8c1042e7261806f12fcfd88b5a586a19',
398376,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'145cac37544cac3f48c9ca22478b8bd902584331d199cc377aaa359e8e6edcc3',
397992,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8852fcb9cc3000261dfbde48bd00b21c6bb9f33d21a6ac4c7e7f7e95b74440d4',
397532,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1703079998c83ebd69fc74133f4fbce1cfdcac711cf0b0ba758ac0dec07cfa90',
399028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd164336fe49375551a200ef4f57cb6b008ad2b689167540a8562137fc6d10959',
399140,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e2e8d970c19c432528b8cbd87ea7b35318bd6a918204bff05396d6a390b2bdf3',
417200,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'885b45ba86f4cc8db519b3e0f07edfe877e26560c788b18cd5c42b3e5395de05',
417796,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c6da3ce8d2192cd065e18b1e3513f88f07466463e9d3c2f8e32b52dff130f8ad',
417840,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'de3f69ec8367d7b57fff3187f9124fa4df68ddd0ca2033737aa203dc61693976',
416604,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'bac6f9f83b07d6e98d7ac36de6e6c2f3f3775030b6af3e19c5df9ff4de5a285d',
417508,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6f0bafd0da6288e0e373399ceb0650870aac667126b36153e09692597d72e857',
417796,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'583644d1096fd4e87919053d71dbc34249b27f15260c40017d307708bea8bb4d',
417120,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'00f1e64d50e1447257b0d5fdf3b3ba051728f9fb68da9438207f32a2f296894d',
418248,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9fda99a22c93100b45702242330967f1f3dc77d02ab572af9f4c10f9bc3dcec7',
418056,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSerifDisplay',
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,
);
}