heptaSlab static method
TextStyle
heptaSlab({
- 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 Hepta Slab font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle heptaSlab({
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(
'48f2ae73c5f96856643e3f627283d4d5ab277cf9abd8e009d33bb5157d64d5b4',
114936,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a4a79b8fb5a51d8f1a3be3ced4fcbe572e37fd84f44cbda1358f75a43e8d0fa6',
114764,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c09497a4c4e2bce6de8d60159bfe4c8b9731ef6442bd7a9c62e099c671a36dcd',
115112,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0f087be0ca9ebf5ad64c55ca38e8436fa0521e1134caef18d77ec24ae03a9072',
114928,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2bca927a50cee306018a18d9e6f0c58a63f4db280e9a28fcd2321d94f0eaa0a7',
114908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'67f28954bc99ff7fc25536b056413ac067b6f5e1b282b8b248908572d2e2e315',
115240,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2b1abb71555d0aeb6aa7c27e868154d383d5b6377158dcbd3808c81238ff4c2d',
115904,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0aaa64af78a82acb6dd5c9101dc36f42cbec9e78b3c09e8b46181152f58a8dc6',
116480,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'49b7cfa17634bf87f6fde23c73f591a144ecabada5899e0182963656be84976e',
116328,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'HeptaSlab',
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,
);
}