exo static method

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

See:

Implementation

static TextStyle exo({
  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(
      '845ad695501d5dbbd46932710afe5eb7a7f1f2dd89f79875046d1ce6940a1e1f',
      58348,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '529d9c1da32f444f3ec56d26871b27c39080877e1a6c417f9e0b1eaeee747404',
      58472,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a66c3151103fece6a6aaa5f53e75194cee80cc7f7a80df244422dcab17d2d4b1',
      58444,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'cf5f6e3b52fa9f306272002ed791a6f6638bb2e2965bd16a016041bd4bc0dc00',
      58384,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '2d933b5741621f7df643234101f52927ad5e3519e7e31f0cff5207348e8a1a22',
      58404,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7579c924eac041b15c5d9dcffaf34292699b295c42554da21c411e69aa742739',
      58412,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'cc56bcb61d73d11d8903f43a99ebd9c89f573312a20dd8d2c6a6b80dcb0fbe60',
      58288,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '0541d3df73b8ee9cbb5cb310ce1622566f242b4024072edaaa144d2e8013374d',
      58324,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '88464b37cf0df64c9ee2b2bdcb0773aa1710f35989600c860d0a96a00d46b4e7',
      58176,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2f792a8f2ad00ffc2a95be95af4ac97130daf87666b1f251887df5000af23f89',
      59676,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f241e93d4055895290424128d229c157d127208de57826e4e6b2d59afc8285a7',
      59844,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '07dc999bed6fff1b99efb9a218d05eb05dc55d12af377837a82a9f2a5a3feafe',
      59800,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a6051cc238edc055c87d2c60e533e40a0bdaf8592540687638dd9348e96f480a',
      59684,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd635f9381b41a5ab9d362b71258d341eb5b1230a9dcfa96fb8d48ce9af1e85d2',
      59760,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '7d12b9b15ec219b46ed4a33b57bdb2a8ed88b3c32e4ffc609592ed579b29c431',
      59768,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'bca135da4ec51a329bf4b4c55310650be22d4a13e71561cd48fe351baf7ccc38',
      59680,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'be1eb3a0e2939355142cb7f300be5342515759d49c5ba4e11c65187614815748',
      59720,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '6d6b43a92d5b63384b37c9446eb8def785996ec9cb5cc7fa546d3016fcf6d553',
      59544,
    ),
  };

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