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(
'dce109cf16b3bb16b14944cbfaa408b5efaf0bf5b4e9eb9affece272d9a52fab',
83624,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b0754b920f4f977459c17b3190a00897d306c9f6ff67ba73975cf62f1fe2c9f9',
83708,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'db105ca661c4afdeab41180e0656318f9b899683e4833d43524a84d3bc6c25e8',
83656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cb8a30df7328bddfa9b227817bb21709f90c7a70587f8917637db4d9f3575a7d',
83632,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'34b5b9892416b15e8c454dde471a0c594fd9ed15345eefdf125e6546298de243',
83668,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ca3a2d101977b718f0de2a27cf80ad64651958c784221d28d18d55465f021959',
83580,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cdaba832755943265ed2fb57bdcde544fc79b1b7735f719e7254a9f48b9c55fc',
83592,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9f4f2b7145144cb2ad7cf8602df863bc7e4aee8b9e7e05fe4f3a1d66e7db3182',
83544,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'810b05ed6b6c7f46b82f702f14968b26828574f9962f2dd2688931e0e71d218b',
83516,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3baf31ad52d4be302e1345455715af9a4645dbc729206fd36f6ad2718bf84da0',
84192,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b4db2c52f2d0383c8855b8813ec47746be3445944b79ec5db0f4d4b670a5955c',
84244,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'965b03a480337fff3e58981e602d0c3f0d50cc26e146a8a721a219a77cac0068',
84108,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'1721f9498f4808ec4d18d6bacc1d268998d7b95ec1c9549a5aaed9d3fff766f3',
84020,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'21c60e4c8972a0722de6901e8e73c1ea074776b4b9aa2223c87c5d1bf2ab4e9f',
84128,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f819e376cb1e20e36c8cc317752afab1668ffe9f55365192f0960228c90e8b35',
84176,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9f67cd7f90c7b647f9535526b03dc622cf767240a60dca0a41d613f7440aa90d',
84148,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'09e7ab8b88d9429e914607ec486b6cc46c7d6ffbfcc812e41bc07be31b974d93',
84212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'348e439387b61454948a4a5f4eab038c65170d3beb2aa915a38cd54cbe8fd059',
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,
);
}