grandstander static method

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

See:

Implementation

static TextStyle grandstander({
  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(
      '4728f0d725d8b6a76c16070768044b9e6b6236a1628bb1ad24e9f50d95e85322',
      77324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ae29f98ccf49de9457db8cb4d9146e1c4ba7e9d2a45b5075c9dedfec40abf67f',
      77436,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8193fdba834ec833e32ab815cdb1c7637a538abac0a55e2643d1a21920a7e0d9',
      77428,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e2c1590aac3af3109a3f0f52084234f7d917d5446571816e7be76ef662aa05b1',
      77376,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '29dccd81bd511856971d9e11bcfb9c1e4b724f2c99d71ba4640765e0f74eddc7',
      77440,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'baff651d2552b4ff658decc4c24b9d1441f7e2f4edb2320302eba113473a3f4a',
      77524,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a2168833f9cb80d9d3adcb7b1a9435f687a76914791e8a3419387728a9e232ac',
      77428,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '5d505c16c32b5d8c7d7cde0728a342d3a573f37e6a9ef881f0a0129aa3ab6f04',
      77524,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'cbb55db42cb6dfee25da8fcfbf0c4c3b46c6362b1f7b9c5f0164b1f473ea2b03',
      77388,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '5443451f9161dd49fcf0d8d005fa4c515212104a03ae55cc97aec53e9a7c2d2f',
      77988,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ef9d72ee3df361c727f567bad43b474be4b602a25122af6ad4678a302f7dbf92',
      78116,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f51d56b5df52fe7659247f6bfa8ad45ba13e1476512b42c520eb1c9834080849',
      77952,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd43f0a89cc73b807dd79cff8a129e8d307413088dbfd9aeb43dfc5afdb5818e1',
      77816,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '833f88d7d64e5f6e66783359b2e830e690548e64bed4b0222b3cac874860c653',
      77932,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '5fb6a65ca4e9bd753f2a2d2996602407ced5748f0ab0c16492c700e2f5bfbfd4',
      77952,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'bdad650a656e4ee7285056730af9939c46c0137ab7e534126aa5b1b117354289',
      77876,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'cf38a0abf71444761ea9920e2bd481d20c2cb7ae9c54e42b481d98d5fb8f5be0',
      78012,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'eb1dc21dffbf8e7edc9f5a5d7f465b65cd836849be40c3c234c976c668d5b2e2',
      77912,
    ),
  };

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