tourney static method

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

See:

Implementation

static TextStyle tourney({
  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(
      'bc94e55248806a4878d1af7c16ab5db7c1d417656026e1ad2a5fe55f7cf0ac44',
      61996,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'c00967f79ff587b74617dcd05d82da0e4522522bf48c7ed832cc5a0067622219',
      61996,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '6bce378eea8dff6d5f405d8b6dfb780c5bb629eb024f5cb86d84d8d946cf612a',
      61976,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8a2bb419b4ae4d8a7fa3a48bb1aa7a4d4fcacc312ccc432c8f2b8d8fc2d6d1ab',
      61984,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'eb90659854ced249e22d0b75533e28c722e15394c0953ceb7abcc63e32747c98',
      62000,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '48ed67ef871d78b8da074724954a33258eca53d77a14c9a24c29f953d6425f3b',
      62020,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'faed8ee7073796a4653df33b82b7e235ef9cd7fed6fc2b99bc8c8becaea12054',
      61972,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'd05bd628d6d45ca4f2db23319243bf781492641a19d7c2bd492cc34fdccfdd9f',
      62100,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '048421ddee85fb59430c79cb8c183cb5dfabcd09ce3c28deb5bcc405daa27bf4',
      61640,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '725d5223393bb16239c3f5304db4bf74d1e5da73bac44b4c0f34905cd4747942',
      64620,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9e526fef8ac301a4fdd9e3a210cc6927681539b5b9058dc1de0f5e2ed923ff68',
      64716,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2f5640df34a8449cea3f66e9227b792d5fbb71f833e25d09a80138aeaefac3bc',
      64652,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'bdae7f72ad4b0eb3b1728feca2ce761e028e3b2ea0a9af0de371e992fa87e204',
      64576,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a31fae59c9de973498154e8bbd8434885917e3e80637be42be670f1f204edfbe',
      64676,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f049a1c9cbf68ecadc62d5cc1c4d203de6b987868e72d85ea2cadf7419b423e7',
      64692,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '1590c4fbbaad6c17cf15eff0b8aa4e509fffa3703f7c34f5af26b11c8e369545',
      64620,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '50cb51fc5f6076ef5b65c19daa6b262042aad3b5bd954bfd241fdf5c3008a20b',
      64748,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '521e3a517f90d2bd08780ccf0e0bb8dfee32a8592cb282ea85153314825abe78',
      64112,
    ),
  };

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