taviraj static method

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

See:

Implementation

static TextStyle taviraj({
  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(
      '6509616a6331565ae511d2abd7c6c50c25e7c584b15a858f5444d77ed6c451dd',
      121120,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '971651f04c7c25aa7ecb04e006ea64c16b738968a86d391f0c5a9290135f39c0',
      134768,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e50f00be6043a477c7462208b1346502e71967e52e6bc9ddaa09fbfe763761b3',
      121048,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '7ca6fd4bc96be6d0bd4df1f1c6e3d406bb6e780dc551f6eb08a7ec5956068eb0',
      135428,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '12833a181318408b66fa9687fdeeba0a41d3818603aa909c4a00a85cafb6481e',
      120532,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8aad082d1b234e7483e26b9081d2c95fbc778304a066c47b9dac898d7858e986',
      135464,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f364febeca23e97031db2342d4c58ceb04a4d5babee864ae4f2482482891bb2b',
      121308,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3dc3bda6cc5d571412446b9053b460d89c8440c596a45e09994aa9866c28d3fd',
      135232,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'f4d884d9d543e94bda0d2e659163c4f1962d351995234f4be40d36e09dd62b24',
      120460,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '56d57f1a35373660a96fb32ffda225722566a3ebc1d8f8bc780ab1655e157d01',
      136224,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '89aa381d33d04364440f9643f40026ac69f15ea7ab77c1b085f56bfd0dbcb517',
      120184,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '6b7fc92dd6057a58b01a446b026312e4616ad9e7ac8b266b8c5ad9cc86074ce2',
      134776,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '15e73e6b696247902645cf1c5b9a07ef34c14b68461b5709f9d4d4cacc43f4f5',
      119372,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'c303d90503526f2a8c576415eb7ad60dcfbd85c70a4d0f7516bf477d171811ad',
      134564,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ed3dbb109822c9054a9d4113edbf523a8804098beafa0ccca6fc1de10c0e2a77',
      119284,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8f1735dc04afd66e4d1a8ddeb667a293fe582d608bd2853f84569cb23744f50c',
      133664,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '0402a63853855c10d6ee39942caf785116d2cbb4ba0bc0bca9403439eb6d0a35',
      118736,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f5d2815958c4bb0a0e7dc77d21436f291262aa97b23c3c8caf35ed06be0d6688',
      129244,
    ),
  };

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