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(
      '4216dce1c4b83ac57d2a39927226ce4b43123e258ed35bc540cb71dacbf12040',
      83136,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '2781477302f7c52352d7566653a196b7931d90223c55d460d5a66714353ecdf6',
      83308,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'fdfbaf1fbf0ce6b390b0122010412f097e813dbd499b724fb430f66faa211c44',
      83324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '42de799d849cb53f1c8aacc5534b6ef6128e97404c5db316012e860c8f5866b9',
      83324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '4af2ccbd0e579a4014067758aabdd18b1b22ab0a727ed3fb941602acef058a4f',
      83368,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8f0c4353ff450f5610f8b1866277865d841a1578ebdcf6d8f288b15fe2ac6de1',
      83408,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '2fc8a7fc1adb67b167066810b79dda0ee9b7b2370ea13cf3156f1e39b22bec8c',
      83384,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e174ed250dc1db49b16842e9b34d687baf6ef2650497f1b7e427097996b5da6d',
      83444,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a21b88d63bc7602cafbfdf06874cf9cda22b88ca49c98e122db09484401479b6',
      83248,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9cfefa298e8c923c1b0edd80829671664dfafd79f17fee4ff55b518df9b5078b',
      83796,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9321c8db30b73ab480c4ed0652832b97054bac22732371e7beb4be78468296bf',
      83968,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3401b9eef4863b6dcc72a90ce82fc25d81177a6969fed4115b80392e57837acf',
      83840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '1dc4e4bb2333e207aa7075254c8f06e4fc5c675734dd93fc73456f85a04e503a',
      83704,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2e73006f7e6f34c76ca0da52d6cd2cbd8cf3ceffd5b38604b16d592d790b1b81',
      83844,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a30dfb7eb2c58092f5a87955dd563377b81ad4548fbc675cbc88f8525bf3f6ed',
      83840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3aab243fe94a763c60c8f744b24e84881af8eb80bff165c92ad6c6860b61d71b',
      83792,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '964a84adb4f68cbb4ea5a9e3d30fd43e2070ef5590ef5552a25d1897a6110190',
      83900,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3cab46d12fb0529fdf584a4f69cdb651b0421fd71352753aacdeb27bb9816757',
      83744,
    ),
  };

  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,
  );
}