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(
      '814e0c797fc94f6f5590189cdc126a56da58f98eb47af9fcbcdb2b4a36450d9f',
      114784,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f9b14522f6c170de4b38bfcf525e1862d213cc0c30791164fcca91cdeed7752b',
      129296,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '997bc7cdeff6c5824e4ac2b32de26bc4e73defbe0d0e5688cb160e1a5699847f',
      114832,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '9eadafb77b6744a4c9afaabc26f48f2d78f8f6927f45f929af42c0824ad81aba',
      130660,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7b03423d486add7b243b7b793e0e591770f242c958268352bbe3faef8b2d29b2',
      115836,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a83b45b1838827037d78d294c7d5cd7429428d60ebe5427b9b083dd8c7401596',
      130640,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'fed37b662d413141a63ab7faa0e110eea024569533e9929a271de15f201b0027',
      116096,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '08aba6b084192f5211c6b102b6010bd735e1bc34f97703a407a5a49c61edfa42',
      132696,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '64d969c783dfb7c183f8d31dd9ac4d8a767af58a7602ad4a59c8360be3d3bca9',
      116388,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2f0ce5b5febb576d1ff6e1c2e42cfdde7586f288ebe34def162a42103802dce0',
      129380,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '1a823e55350d3252b908e543fcd91cae0e181d497cf0e21c302455b9d3d8834c',
      116124,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '70e6d730f3645a353de484d7b71a11bf4ae9df07124735d6d4d575a3b0ec0877',
      129528,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8c6e6ba29a746de93acc8309ea5463eaa3d6d4859acab21f3a888cb2c609f4e3',
      116276,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '5d3a761fa1f5446b09d927d1624cb19af37cc2122aded14c3d92099ef6cf2c63',
      133164,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'b9b36a4867713d90cf2a0757b86262802c4b9242468e10d671a4211cefff7a4f',
      116140,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'ce3eb96e4e900820e40ab0ccb2255bcf38220dfe7efb9a09d363f4884c8d6445',
      132628,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a1ce4d7d0d1a3af6c6b45fb01afa9af6fc3daddf51f452353b34752ee72b05f5',
      116124,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2fa0e242111b23fa60b98c22af9f5cbfa37d1238ce9c4e4a7402b8e4e43fd6a8',
      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,
  );
}