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(
      '337ac19457e8620dbb4fc0f98dc53e12954c9fcee1227bb6a2765cb0192485a6',
      137436,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'd14471ea043f2ed4f27a3afeadc2112d4fe7195b38574ca7ee52db4b0ab22a7b',
      137512,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ee0532422f4e39ca5a8fbc29830d9d653399d8c9dcb73cea8ae5188c109d0857',
      137580,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '4c10f3f588c0622ef89fe7fce096b8dbca672940c02f9a4579c422d328604dbc',
      137588,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '3985e1c5688306bb761222526de06b45174fdcaf2ad73a5d3c0198923a601e65',
      137688,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'db348c8ad52442f1f141dddbd2273b1db3bca0ad2ca90b29c80e04ef1b5ebe3b',
      137788,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '27ecb6d88eae4bf31c7d57a980b682983d7f0a338dfcf2e81fef62fdbe8186cc',
      137904,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e6abc513fee31419f2e2a02f9b6acdd977a44465dea463db34a52de9c6565382',
      138032,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '6a68ab650fd6486e866340a30975adb61dac5c89a8ff2137f20b08523f82a920',
      138112,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'b697631315a4d8188010457e0c58d69de8bb9bfcef6861eb1a267e290f393026',
      138928,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '882549a91dae21353449437488294998966b3ca47004e921905cd04a83f277ec',
      139096,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a005347314f9d8ad9423dbd4d9adb60e966414fec2a10f0a9d888ce5c1a4451d',
      139104,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'c764856ab28c5fcbd3a4f058ff43682fc8717d286df55997abc960512e3cd4c6',
      138932,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2374a93f10b0e1645ce20df194a677db68cff788c8d72f3a8780689045c9aeac',
      139208,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9cd5fe9d4c6f677e17329522161019c0dfc9db5bc3b0ec7fdca0ad04b8e3e43a',
      139308,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '26081d49d69994976bea22266bc97b2cdf53e9f07ee70327a9b3156c4ed8df66',
      139272,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ea1d982a3e7a5c061a56dc4d1bf7a69d8983a63df3e1968c70cd95c3603cee4c',
      139392,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f06c4417d96ae9ca6421d1efe7a4f6c291e15edf5adbba28ccaa4d03e7364909',
      139384,
    ),
  };

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