ibmPlexSerif static method
TextStyle
ibmPlexSerif({
- 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<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
Applies the IBM Plex Serif font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle ibmPlexSerif({
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(
'5aa4b2165b92fcaa06d80609bc3c16805135bd969b23afbed65ce60ad4558036',
105696,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'950b43c249597e17e1e3fc194d303d907a9b5395fe7f883ea435b2c8b3228f1a',
115304,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'fd0a00b3a4c5474d5c5a5daea0de266b34fc6da3c3a0ecb4811babcb91ffb01c',
108384,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd6a5ca6127129b7a6293985631c61ff44c96d6b268a0270dba939fa359b9cfe5',
119328,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dd97f921d3eba84d627c516c183075b72674478d67a524d4cfae98bee05d4e5f',
108348,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'37c9cf85d4c22db5c7ee4e4cd475b84a05d69c92f3ffa9f2f38d16766c2d8b67',
119024,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cc1e7665af7d46895658ff64c28756ec47467fd228d5b977564e48da9de6c6b2',
108088,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3b5de2fe431d9359952029d9e61b821666ff312c25571c73d604c170ba544d2e',
119068,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'32b562ef8b50a315e290f899f27de76b2f80ab80ef754d4f6ef08caf47f168d8',
108788,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd010fb94315aefc3e1af5522fd6b44f7d589d4eae98fa9e9d0b9120ca4055637',
119060,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'12ba72c563a89c37bcc87c3aa18f4633d1667b495abb4d1f374b262731b746bc',
108692,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'693815bac793482c0e8b4724383d492642d1630a58b98534bf54322e6dff7563',
119172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'66723266d45803076759fe83e54324a8cc8e9ea41a172e220658a10a1cf830d4',
107296,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd6b5ef936754f915e130c8ed16ac73d79d8f4c0c08e96fe3d79b7ed8d3e9cd4a',
118044,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'IBMPlexSerif',
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,
);
}