alumniSans static method

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

See:

Implementation

static TextStyle alumniSans({
  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(
      '22cf960c3683bef122e824082ac2322f51a3f06b3ebe530f3f9c326b2a9ff3e4',
      52760,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9731e3ddbd4f9e45d9617a086592b46e501e6d1d30f42f3ec01d7c8479ec678d',
      52972,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '6917c8b390c96e08dd157f34e19ded5de00d7a3d302d89e4ab24bcc8d3eb79b0',
      52868,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'aeb6dbddb889269b4be32a085aa1f941c2098c131fc7928b83b4462ac77d919d',
      52924,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'dec3c3a9504cb4cc1b40a04cf3048a3ac4ac2920eff49adb5e0304d3b707ffba',
      53000,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '368d76d774dbc1c3bd50998aba4462ccd4955f23f70cdfff39d01506c942d94c',
      52960,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1c54a59e7e9ed93a1abf33c6a573b84241d18a5e41836c170188c77053854a47',
      52876,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9757fb03803e2088f83b77057e81bdefd4e65fe24d598fd00d0b0749b27e431d',
      52916,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '841b3a70970a9399aeba5c113e2c15a5019aef0d8adb47b61da246b71a6d17b2',
      52616,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ab604215e1fd3bb22adf0da8f21da2c0d54fef3940478d5152a5b8d1d61f85ec',
      56016,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd3b3329ab61d8a9183bacc96c0b1991bd8ce80ce629e974cb11480cea67e0940',
      56200,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0e2ed145c87634271c6d911965a17f586ca494260b835ee621fd0797f1d300f9',
      56208,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '75c92ba4f103c080ab9bfc3fe83320ef265b7c67ea563ad71dcb5b66026c03c7',
      56096,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '34a9450ef14b5c993b45a81738389ca208157997d481676cc20f7d3cb65ad5fc',
      56192,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0257441c61e8c7d6bb39f5b602c78b2f2e7491a06753b3908dd03de07c47d791',
      56152,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd9675d29b154ca60b902d688e136c24736dd1b2daca568a8a8cf2347b6546b48',
      56020,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '441ae442c960bc31d6c8476daa3fd44e390be09717b39b4bc73867eba21be70f',
      56012,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3503c34b4b89a68ca685c984892e1334e7405ba4663084a6dba77f8c61227324',
      55920,
    ),
  };

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