trirong static method

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

See:

Implementation

static TextStyle trirong({
  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(
      'b70c497193f211aeaa449c0f8e88b91389ac33dc5c30d61d961426e2333ccfd6',
      114784,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ef4d3745bea259cb738a06d439e2cbb7b44138516dc07470b2731c18b93c26bd',
      129296,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '5fd71235d4d5cbfaaf9769081f251787193b1f6fcf7cf9a460f82b66eb65bae3',
      114832,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '75424f3630a8bbd6276c6868e3de00e80d9d0074c5fe592f7229f8c9ed61b2cb',
      130660,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '03b8619acb82ad072a0dd64921d3992a2b6be44d1825c06b2c572cf70567b83b',
      115836,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'b635783e3b733d7928b473e369278d4eede7ebc7e0dcf66a33c1a8878d54276a',
      130640,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ec0188813e5eb57d4ddfd0fb0f7308a0d2d6ec78cd28129384cf95a378ebd6b9',
      116096,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '3ab8f99425589bbb96043d4dccbf0cf2f6f6f8545a4bea4525e192148fe0331f',
      132696,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'ddb7f49d41e1e912b0fd25de00887f7fdd91d478fd6f770c4b6bfaca0d36a4fa',
      116388,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '37a646c814469f85e077ea3c0b97a81f13d4257350c3bf9173583dce61413703',
      129380,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'e8c07945b6b3a893482cb80fb7af2692708571ee011b2e89c77192181ca110e6',
      116124,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '8c4404912d4ba11cc99dd7194c2388c0cba32a87e36cfec97b626a827bbcee67',
      129528,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '906a2f9bf7f58a4d796d11d69b5665021748b14755bc6fa5139da5125abb6a6b',
      116276,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'd1bceb1de3d844afa043c58bb97779582398eee6e8a88714ece49a2eb9a69135',
      133164,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9d76a0f4f823729fc9abc94656338cb285cb8d1f5532f6a0ef867ac78a6fbcfe',
      116140,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0f350248e73418bc4ab4705611a3b5cb25415485c42d422ab41609a63172affe',
      132628,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '50937be8e1637589ed595eaa698f43a1191201adfd8e2707c2ec34214e32d54c',
      116124,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '521b80e200a756bae2db43e394c8c394872b995c7a422050999a79fb309d09b9',
      132888,
    ),
  };

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