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(
      'f64a60502aa1b1d9c8435f9a08f261b2f2f98385961ff3fb5525651c09d5d2e4',
      65360,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '55cceeb01f76ee742cef7f9580a1e63cebdf06561f43f5d0506750f841467be2',
      65564,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7032f6b18e9e7eb42a2461eedfd362089641c55de4f723fcba7f6fef68d05d7a',
      65544,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '67434bcda0d850b5ff0c511a2a3924b4dfe70aef260efdd9c55c9631492710a3',
      65584,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '343d5650ab3f85dacb8702579d8adb2305c119d005e3852e8912bb2634c7d6ba',
      65684,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e05f5ee7628e0b3ec69e984d19fcc0e0f7d30439898e77b9a72acf1db86962a6',
      65708,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e8a86c3345e0648172b531b97b3768bd7fb5d48dca6b8a28ff7d3c0eb0e7a8ce',
      65648,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'c6ea293c511e247ff3cd720f3973c417faab944b9901a6976096800e1a40a8f9',
      65688,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '569492a6e9691e962a4fed7139082944170ae28d7eaadc1ef78da380e9125b14',
      65360,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'e71e4056e6af5960191b1adcc11e4cec064319fb6d7cc7a156ce6e002a546f0f',
      68152,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'b1d15cf645b539561b3642459a940d7296b342097fc281040856fc740f77faf3',
      68296,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '54634790ad4dd681f2644ac1f106cf1a0ba7f4d5142bbdaffb55f8fe1787f608',
      68224,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '61c96189e2a05d93e96b3138c9db25381153114612bb430340e3049e7c87dbf7',
      68144,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '76a7446ba25936fd608e60a4d283998c2063700a106445b0ee01026ef1646846',
      68272,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'e7ff920f7fc51abf852aa8f0520f6244603c3219eb9b5a53a26c2d0888a4ee1c',
      68328,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '57ae750ffe381af308ebbeedbed354a9b8e2734c3390ebe7b3e681bce7a1dc74',
      68220,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3b170032fc312d04ceba035fdced21557c108e4d0c97cfe7b17094a3d4e22437',
      68256,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '420dd8a90262bbae2f4f0638299fe077005ae232cbae9b0aaef7dabbe8dfb60e',
      68052,
    ),
  };

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