notoSansDisplay static method

TextStyle notoSansDisplay({
  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 Sans Display font family from Google Fonts to the given textStyle.

See:

Implementation

static TextStyle notoSansDisplay({
  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(
      'd7b5c341fe5771dcf9e682598c78cae7475c5b955a479aa921e45fbcfd7bb871',
      328296,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1134bdfe54f78b39841bc3f68e7c93e17e94c2a04c241e6aca932c7b86214361',
      328644,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7a3a4c60525f76f6fba6fbd341aa8db9829fa892da22521818ab01d655168b23',
      328592,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '626c1c90d949045c73a2d5cc5579a5a2debc98df486c002fcae5dcbdbaf435eb',
      327984,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '2730db348743fd4a86cf4a1d33f5c86f1fcb0bddd36564620255da24feefe088',
      328452,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '30aacdd857dcfd16cbd69c56d7c735466ebbf7edaccee8df315fe807b6c16190',
      328548,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f42e50ebc8fe182d19b8920a0a69e4b2f2a72a7bd7beba186951797159c222a5',
      328248,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8c31f4316263d13fdb25780cae9d89c64cedfa38b57d632c2b246c42ba0e58b5',
      328724,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f84e133aa6d57401b0b7c65d6ca4b60fe69e5e63bd44b8d7f97eec61ea253599',
      328764,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9fdc2dfde4bdb8ea9c6d61f2110520c23323643cb9e8b11e06bfecab6380aa16',
      350752,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd8743d7dd1b692b1763c4b759cc73276ae4123950f54bc203b725235408f0517',
      351224,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '983ff9bc8a5c5bbad88fa6baac6014b534b34a854c7a6a336d9106f4f9b396e4',
      350816,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '830195c90e484ee9dc8844e183ae238e9b3b7ede173b4eb1167c6654ebd06f7d',
      349532,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'eb227c09ad0591b6492f6a7644b25580c92f692bda50e16452f45934cdd86d3e',
      349996,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0a0d1cb7b9a8fa8e768b472ee391878dbf9232bdc734c8b3fe60bcaffec35d62',
      350104,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8b95ec211de9e560348430eaf28145f128f59010fed1df2e1fa0e51a99a605be',
      349660,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8de2f7361e257950636625a421fb6c4d446d1b5b942348bd7f853314a5805eff',
      350328,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '63a96cd6529aa23dbecb27e8266886658fd77b74a28be02ad5f9f7d183316636',
      350188,
    ),
  };

  return googleFontsTextStyle(
    textStyle: textStyle,
    fontFamily: 'NotoSansDisplay',
    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,
  );
}