grenze static method

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

See:

Implementation

static TextStyle grenze({
  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(
      'd3917868be5116f8fc887ef4e2f4994f99304b0a0991e2f50f98275a8b476db9',
      64744,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '05bd3e439bc687158ee99b9d108728a5409ab729f4af77851e64101585dcf0c9',
      67244,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'c343a8a4b3db9ce5a40ddfc9379c03bee49e0cab990e48c6527096f949384e75',
      65044,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a6672c912e3e515d9c86eca13e8e55bec9866752c944aea64971c1de9a3fc35f',
      67432,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ecf13d96c14031ef6224048c11452e03f1508d402a52386482fc39cca36a3860',
      64868,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9c7d810909e0fc16f710902c0d1d5fa3b74d3aecaf4e0642e9a1f792e2ac6306',
      67392,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '18017922fcb728e977d97aaf887f1cf2ab9675f8ae8eba240cefc8af5a60906c',
      64808,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0ce73e589b0deeabcbe078dac4153e26ba7c331d2925c1bed7a0f509dd38d195',
      66840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '08270f3dbd039bfbab6d6076a05451a4522d3f2c983a38ccfe1be16dffa96817',
      64788,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2c96d59eaee80991466f50e495ee7ad084d87fdd694674573e48f05a84543a99',
      67424,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ead8121cbe44b32cc431d116e2148565e4cc4cc7cf0d334ef42f1f4e522f1cf9',
      64648,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '4a00aff6bf4e90d04e86ce6c40865e9bbac018b9ac5c8bf20c50b9b89303ea69',
      67268,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e9d7a9b500ff2ad0ef8abe7726f05014a868a5ba91e5ea3159ee97c43ffa4968',
      64576,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '44af179a7f4b587ab5f222681605a543d6f1e3763f6d4b4bd58ff577f300ab5b',
      67212,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a54892fc571753ebb8ddb0c0ed474c393c24714ae41d874c04f689f5db967913',
      64712,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '1c4ddb1b9779ae89f7ceb75bfdf926bc745175ea431adf759b71b8a1741d5246',
      67132,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ab51abd1c38d0968bf9ea99b1a773d49d063e74720b2fed59d2e4065574c1bb0',
      64456,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '70e5b9d6aa250a3c51bd19e36d46e8f142b5404c26dbb574f449d987b4d6d913',
      67188,
    ),
  };

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