interTight static 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 Inter Tight font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle interTight({
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(
'e8f254b7146e91d8f69c5afc8dea412e66169d2df117707c37d567f9a8b10d75',
298796,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7d649df7c0e86ca8032d863821e2be6ec9df709080a31d363480dceca54d2be5',
299152,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8abb589943cf4059f840ee5d04c4f4d32e9540c1abea84fe38e0b237ecc9f0b3',
298872,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'fe7e12b7f5850c0163d7948ab5b3d9658bba660d353fc947b87c5d687d248509',
298420,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5ea5064feb4f8d71a70bb4ca751880b7eef071a1c985f85786508a286d7d95d5',
301564,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd6f4cc3c92ada3b35e19a8f695e26d0eefda460c53d178ed11301ce666decb27',
302256,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0f7ca05ecb7263ea3599c80278694a0e483bcc35d3af2496b39edc63cde2e864',
302864,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'95202ae8aba5211084d344d4d47533b47e01c553f3b52523be9c2ffae46c1611',
303916,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd2cf26582ceeea2de558e81af6b152755e8468512a816cabbf63c7865cb61ab7',
303836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'824ae6bc272644e3a1478ab70013865b54ff4c740bf8311cccc4e6e64fbe21c4',
305196,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a571cd3aae9f89a7feec2f5ce34cf317b7a48c49f5b71f3868efc253065440a1',
305696,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'29be3f8939faee1214c4e246c833aef9bcdbab9450c7ad5c1f4c3ad8aa28329c',
305472,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4700e38377db2c01acabff1679c412704cd190a54db551a1a5bbb084133b7658',
304984,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'31b63316c6823bf08216578f963638006af224e9b7ad18d4defbb08dc7301a72',
308212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'650446a74b62c901d6b7593ac4794a9b8f14ed4c34f883a91ca5ef60c4a72ab2',
308928,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9417fc1ceef00fd12a2362672a9ed60b3fd4db28db414dc11c44ac81f741ebd6',
309408,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'2fd280e0b944803cae533112e45af704dddd514c91d9b3c80bca495beb41c10d',
310300,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7ef396813f3f86a74edfdb1129b51d0998c736002f216962fedffba65d46832e',
310276,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'InterTight',
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,
);
}