piazzolla static method

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

See:

Implementation

static TextStyle piazzolla({
  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(
      '853bced8b15b4dac1826650854c71cd8768f3f17492865bbd87527322ac07997',
      122204,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '12e6ee6c72b71f1cec3046f5202f32326bdeedc1d99eba4e2a959302c7b95d8c',
      122292,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1db122cbdeb9ecae7425cb66d950048a8ebb3514958c02750b42b342d32aa3ff',
      122300,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ac4e7964cbc511d29ef648da51186bef1cb533bb0c51a05f914177cc78db20d6',
      122336,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'c12af6331700aca9a9ae4213fc8d9dafff7bad454d208fc8d69872eee8c08386',
      122420,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1d96e29c9bb1c8c5c98c18420a84efc14960d1028c7f0ba0cf8ef3a685315596',
      122508,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f81540363cf6ba6fd3a6b271f2c91e8dd246fd22bc513e69e2eb18b91222ab00',
      122544,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9997d5c8c01dcaa3d884beb7575564aedc5c048a4df9e8dcc16aa425be26c5ec',
      122688,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '876ac0f870cd43d375383de91157d5afa87d6ab46c69db29fe06eebc70f277dd',
      122736,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0ce1c16e7786a82b37c31b73324f97dd5673c1b508a3c0fa10c951a984bd0882',
      124876,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'dd21ee34892172c0e0ca6a13bcbc80c0745d9936ee536b5c95c41fd0b1737fc1',
      125024,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0afba99a98a8ba9511665bad6711b19933daf6cfc71752362247d287af610b89',
      125024,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2a326a8fa339a54db374a2868e50ea10f8d94bc9f98f4cfb8ea82db180b32f87',
      124940,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8aab5a4c7dfa4e0b43104ad463e1c0fa78d54c8b7116c8c3bc36acb75d3cb30a',
      125116,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'bd992effa8448c4cd917c9a45d384396019b442df8266af0d5cde06e88e1b400',
      125184,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '7febcdb00d6f588c3152ee01de7ea04f9baf7ec0e261ff0dea723b809e9bead5',
      125216,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'c33ba0247044ea9d88b9a81c0c0ec8d6b31b43534856567a32f010d9fad3868e',
      125300,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '07ae846598d075d2908961487ede708db0f1d372009edffa72e49cb73ebaf559',
      125256,
    ),
  };

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