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(
      'c00b6b4cc9a5263045bbad4f491b65d607c73c86104ec50e4548ae99b57f0631',
      83136,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'fbed6e6688c0b772c356cd40954d53dc22ca8c7ee1cdee08c3c957ca18c7e4a8',
      83308,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '79ef29f1d826d9598437c5643f1e98219bf950c430038d34290ea6bd5279fbc5',
      83324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'aae75daeb718b14613f94f14774928665b8a3d71c4bccbff74891ce17f7db313',
      83324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'c68fb7997677c0c45c01963dfced9fddb3558b0985cbad05e27b32e1d4bc0336',
      83368,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'd119705da4f58356086e21b5c93618441d2259bda5f196f827101b6865ad60c5',
      83408,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '3d8adcac5cbdcd4eba118fc884f1dcf827d7ec10b102b862e6209ee338e1fb6c',
      83384,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9d29101c74da11de26a195ecaadb168bcd1a80b7e642af0c4ef8839749e81f22',
      83444,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '00811b4af6d8fc389ddca480117b0309613d36eae16bf1d4fbfcbad00afc5c91',
      83248,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '1f0d019c4945c44ad62c90378b84d61fa89b9d5801af13b3dad254fb8b88acbf',
      83796,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'eea91d59921fc072953f59a2439a1c05becf92c0e3237aae0e260277c70779d4',
      83968,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '4efe2bc1bc31b4db17a08252b2fb76218e742333d21792bc5ca66ebc1f15bd65',
      83840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '85c3ab0fb892c217ae63e9c800f1d001eb5fe2ebab63023a2ae1c1269520f340',
      83704,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '50b6c8c59c720915c77bce9b23052f9f6f7b3c7781f4a08ef9633db28992d385',
      83844,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3b182d1aaa35b99ddf159b21fc2d16d1a683faa25475a705b73a342ccfadb51a',
      83840,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '56a75dea048ab5880be39e369d11f5f63158d69abeb73a4fb7269898d33dc6fe',
      83792,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '5874d0e4dba1761ab8a253e57e0d4114642cdb4368dcc09d4a51af815565374c',
      83900,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2003862fd52bd66e215cddfef46ddca4b105ffa32bfa9495cd9c183cf8922c6b',
      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,
  );
}