notoSerifDisplay static method

TextStyle notoSerifDisplay({
  1. TextStyle? textStyle,
  2. Color? color,
  3. Color? backgroundColor,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. FontStyle? fontStyle,
  7. double? letterSpacing,
  8. double? wordSpacing,
  9. TextBaseline? textBaseline,
  10. double? height,
  11. Locale? locale,
  12. Paint? foreground,
  13. Paint? background,
  14. List<Shadow>? shadows,
  15. List<FontFeature>? fontFeatures,
  16. TextDecoration? decoration,
  17. Color? decorationColor,
  18. TextDecorationStyle? decorationStyle,
  19. 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(
      'f79dcb4b70b433d53ef2593fbff679bcd0fec47a8f93075132332929bf28a1dc',
      397676,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ca28490ff9b4d5bdc90212c307699670db4e03b29b4bbe74556e6be6eed0436b',
      398216,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1340209b59403dbea6ba08ed58c234ea0c6e1e928c93c1c10eb0a73b82f425d1',
      398376,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f95447f6ea88ecad73fd7d2b2682b66d5a77bce5eeeac6dd1dbc496dca126daf',
      397444,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '04507d7f73e9a68da1622f568f17f6e26176bebd0b9eb802aecf5ab95188c975',
      398376,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '82eb610f1b1def8d0aa95ded8c25c2abc3da081b30d1c13ed0b0374a51449b52',
      397992,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '135e11efa48fcd7eb498f29f111022d2a95498cf84eaa37ccb42be0beba46eaa',
      397532,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1e05ee236edf74f7c6ba6a21dba7a15a2bff90c759c4db28319b0bc27aa1cd03',
      399028,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7e74e5dca08beeeba09ae8d3699d0c87f04633370377f5c8e53b95954b50ee55',
      399140,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '6ad8dcf8f7bf13120dd44f64a5ffd9e6b5c7d33afebdb8d1ff69bcb73d13e014',
      417200,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '173e07c876b4b2f6bf89af47e7ab45da21d0207ee5a3d403495a1d00b71c1d41',
      417796,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'cae4135408f8ef12603f360e2f78938637d71c4f19d461e6fd4a00bffdf64c71',
      417840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9988f9cceb61d4a7bd75d668cbc3ce9572eb92ffb4f2b54e3c95fd5d30edb934',
      416604,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '090b8df93a78d0c9d2cd36b6d59f8c543c57d3212411adac0db6517f440d21ab',
      417508,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '7d6c8684b199168847ef47ff7653544bf6acc48d9d545cf7eb6c98b93360b027',
      417796,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '648a357d9c665caf3b6113a463e304a93f2c947102b5e70c96ada5730d024f90',
      417120,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '6dcc7ce10c7ac08b1288754973cacce5d642f8c626579829621fb324f18255f1',
      418248,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '735bceeea052288fb758fd4d352acae45a8f452ba954748b0695a47cc099d145',
      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,
  );
}