texturina static method
TextStyle
texturina({
- 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 Texturina font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle texturina({
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(
'd805046e6f01901c99c6713959e970d0354bdeb7715b17153bcbddb576807b6d',
83624,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c615939e3ff7264c290b3ee873bc5c226a05dac1bcd8bdc401c8acedf1c9f8c2',
83708,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'6e21962f0ba3a94b4527d73bc1a8657f3baa9ed911a9eaf354311fce7c5e2d2e',
83656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cee48a90caaf4f151c1a40eb1283999e3fc9b8e356ed53d0bccaf70315a75a13',
83632,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'febd5b2b5af8dce1eb0773cb1769a6b3dab417f50fe51a3b544a5f79829eeab3',
83668,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ddaf0885a204c4d70f5908a4221f347b5f80e873552ae14389cfccd03630391a',
83580,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd715c2d9e2e0dae3357b6e10436ac5cb1167cfd35eb7110d373b8a3ea52027d7',
83592,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8f16aec9c631d40a1ba75df84c2abe0bdcedc5e0bc928150e0ec9f88caad7ae2',
83544,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'59e17abe06a0d1084b08dc23f2c0e82c18f1cb5e08799e52a6b3c97a0154eb67',
83516,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd304a44477dca7e686532ad843c6e7e324ce86cdc252cc43c6399e216caf50dd',
84192,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6c3389c65448fc656e0c18f5dc36f3fb6be9d52633b77d97d0b9ea9935893ce3',
84244,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a19ab8b2c968f52dd3a166717f4d6988b55ceec3e8060e4b38fadd66a9a0d92a',
84108,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'cbd71c7332055b159c2d000f98664c283ca025c077e0f7bd53f3cfbdb6aa56fb',
84020,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'81174f15d1c7cb38f405ce4515e556f5fd2f3048eccc57cd01a30cee34ff422a',
84128,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f604e447f132e92e097cb5433a75711f24f76e11f6460e56fabdd7bc9bf9de2d',
84176,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'15775939119f500bcdba33e0a5b588630f4bcaa49710ab46a433f82b3b1e470b',
84148,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'86e4ef9097d0bf3ac78f8ba879c854a0ab60fe342fd727eec02751c68fc19519',
84212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0938ee79f7867a62f35b258cc5c5b909838bb5a9d4cce89adf72e99b6bc9a350',
84232,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Texturina',
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,
);
}