ibmPlexSansCondensed static method

TextStyle ibmPlexSansCondensed({
  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 IBM Plex Sans Condensed font family from Google Fonts to the given textStyle.

See:

Implementation

static TextStyle ibmPlexSansCondensed({
  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(
      'ab88cae17ef3535542ef82b797d326a6cd80375a266316b8ab2c7eb5e80b020d',
      67176,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0c20ea096070248d294d68b4d2adc575684bcbaeced2839ce915794d59bcbdc7',
      72024,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '89e3b09f006588f5f37d93559d67d4ab97566d46fdaa4d999ee235f1b4c385e8',
      67700,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '2a0a4908f4529a3c5c953025cb3ee5ab740ede7b72903dc931066ea0973fecf7',
      72484,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '2476a7ca5e81c7f0156b3fffcb6584f29ae63d918be2ae224f89252e68da7bb2',
      67168,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'b1e9a353d99e74f168f3c0cef048a008506ffdf00ff7b3ef6d32c3395d3be1a1',
      71764,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '81677bfa28a39843fddab182322f178f341dc4414b318fb517bf096624aee049',
      66900,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '0175a68e6f0f6e45f80f5363306b85f518b04cdb803967165ebf4d682a19e718',
      71920,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '78fa29872fa88907e72974cbf5bf9281faea408410de3c88aa120733d7c28edf',
      66672,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '53a461aac68896f64ac39d16d575d058ce7184c4e40d0d5ef911cf0c7f386d31',
      71140,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9498efed20c64e50b1406de5df979225977f1ebf9be3784affb420b31ea5b82b',
      66740,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'db1b0fe88dbcfed932c85d84d3c675c1f798dc960c3c8ff118bad0ffd4b7b3ad',
      71304,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '94ab2ea7241ac7fc5690ae882bbd41870abadf4573ecfc9d2d6b879bdb2bd72d',
      66404,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f1e299862ad0193d514af9e64612ff252c5fd2fce90dc6f56afc023f31ff71f8',
      71828,
    ),
  };

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