raleway static method

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

See:

Implementation

static TextStyle raleway({
  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(
      '00bfd6cde61b65d19d9a6804ccb58ddf5e1d8a5e8c849b4b98c83fb3ef192d8c',
      117352,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e6861613871322e4181b6099a5a22a981abcdaad0da9b5df0350b728fc42bf37',
      117548,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e17695146cf487911bce6c1790f2c066d3143e0bf482d725d594c93c4d298b6b',
      117448,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '5474bf91fe741f2f0cf30f044e624e23a872238a9e52dabf40e3d9c92c3936f6',
      117388,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a012a772e4af14d87f1979213b0dc19414200a3a30c0851fae88cc6363254a79',
      117392,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9fd20ed26d84bb61abcfa0533146f6e975d7d6c282d06bbbca9a87ba637dc077',
      117404,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e3d94afa1efeda2178ba2bfc6a9840ba812fc661d131bfa86bebfce0560b751a',
      117312,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '3cea2c8e218fbc79edef841fb76c8752d548d99251038665e03d149c41685c72',
      117376,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '49f9e89e843a72c8d1717cf18a77b8f695e0e0cdbaeafe161e46bb54b27ff844',
      117060,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3fc318e73785b1dd6e272b595d6041c1f2015e6d24e3e406f9a4149e3cdbe07c',
      115344,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '7bce87fe5b0f0e2de1490480ce001ec3b7ed51c4d9c7a071dffefa4734804204',
      115444,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ddf02c1f7b79b0fa54eaf76fdd7c1cbed9dd2852c3c08c9a20e2bbc9703540e7',
      115424,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '48cdec5c4703c857d0a4ec7cda74446921a04bf183eb1ab2abfd55e828cd6be3',
      115232,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a358bdc061b8af94684e76151b4cc25dcd66e020eb0f28ca7ab4ad457fcba801',
      115300,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0abf662863955e2686eb496c07bd68b639ba9d2ff96f32c05185e0cfb8ec4b97',
      115388,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'dbede24a57b441e408626a95f10f58d349e2c127b82f2e394e14ddd394ab4ae6',
      115252,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9ef1724cc8b8ff09994efe31d2807def134d5c2ad35b07757c3725aab9061c67',
      115396,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '4599037d4b1bc36129b3496401d40db2e823805f78214eb2470bebdc22f1fd58',
      115020,
    ),
  };

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