tomorrow 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 Tomorrow font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle tomorrow({
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(
'080f99d103faadc82c695a76be2ca32871d4c85d8c21289aaf4c1690edb04551',
54872,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'86e5cbcb354f6213bbd5e84938e077a926d0b1d120de5ff5e0941f757b09ceb2',
58008,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dddb19f7f441ff5ccb8cfd026392ce5c341cce831ab853fcfc913a049f021e70',
56872,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'397031ba312efa113c38db902bd1c61e477a6647ada7141a7882cb8ca0945b17',
58892,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'7523c7205bb169a2bd1b534e94e5c7b23b06f3a52a254d27f3a7f93f604b6e27',
56908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9914cad59f50b0711a01fca7561de378c6981ba04a76a6b4619d94bce66a43d0',
58928,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5772788b55e5b0c9bdd119d61271a63e3fde377ae65d4537aa64428473cbc715',
56716,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c0bbfb9ddbd0fff4ccd9588169d57a038b7bd83919cc9b449cad784c840c6d46',
58568,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'554d3f3f3ce56d2b7eecd39497c89e8e3d633c7f7fd46501bddab4ed7c05da04',
56172,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3394f9521765d3f64c473e5c2028f4943bbc4f9157a9041b4a24e9ce051a75cd',
58112,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'089b644d3b56da6f022b6f02df0a33a33e0fdebe9d6f335c228cd00554527852',
56784,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'cc0ba7c251af83c6c414cad86da892409468dafb5ce6a92345ecba2980bca140',
59016,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'38b6331b802279a4ca468f8f7d1c47ce6c9123f6d3b4c22fd9e369e3d5065c41',
55956,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'60e5c8a0707ee50cf0716c508f6b60f435a00a6378bd6ba6aa1b0ce8807e63de',
58964,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5d74be4e616a66f913c1759ecc239890ce8d4487a2c60cc984d8a91d466a091e',
56584,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8f69efbd837e542de6e8eaa0e4ef42308b72d4c5ca3f8672dfe62e180b4356e0',
59704,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1e837b171eef6720b2d46e0a1855bd89e69ba9c837ec064f35dcedb26dbf5c64',
52332,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'002c1d542fbbbeb3443244e5ff3abdf70964770ad31bc6b26514999396f8c45d',
55780,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Tomorrow',
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,
);
}