sairaExtraCondensed method
- {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 Saira Extra Condensed font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle sairaExtraCondensed({
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>{
GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'322d3973d59827b2504723abf3285c2d1e85181532fd146fdbabae00398ccbb1',
73676,
),
GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd52785c9322fca08c09dbab7952bdc038ce7ef5f58298a5252ccc2a9bacfc316',
74496,
),
GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'aa5dedf23086451deef347c47898e8c5153ee408af19c44b9e780c1d559c7ce3',
74168,
),
GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7c5c7b4ab19710c4557e47580d437ed2eb1add2fc90a641088ef31539197d16f',
75172,
),
GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'36d4ceb6924f219a43b1ef0abcf228bb570891d5c6360bcfd359afccb20b87fa',
75268,
),
GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a69037b3e5411f785d7b05bb682b957613e8105cae22044518c630107b4504b2',
75560,
),
GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3b08c582f603d1d8ae1944b4362aa3f7db533be5b7ba1c0f4971b93188a903d4',
75436,
),
GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3d5b2328322a4ecff567415a1417dff7b0659414c992b7e2b88ca399d456df3c',
75340,
),
GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2f9e1ef084cecc66c6306c5618a464b6f6557c0fab6b20f4061378300d83e090',
74940,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'SairaExtraCondensed',
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,
);
}