taviraj static method
TextStyle
taviraj({
- 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 Taviraj font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle taviraj({
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(
'52fbea14874ede87677741ccb667e42f7f7032e15c8b1a97be9fb092777027f3',
137276,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd637ee5b1965213b2d0a0e00861b1be03c91e65b536d89344ca8311230055a55',
151012,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0f7c36cf8282e0201e715b76951dfdbbb3cbfd0205738f51c9ecf4317214ac1d',
137232,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'595da34fe677c807a56dbef57b36441f4cd9de4747ca13a95bc88dd802565032',
151740,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b164693b28772a83e0ba3ea3b0795121a18396d1d22e4896f1f49fc90acc48b0',
136700,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4835b3444e501b13a94cc6e04b4b19278bf42fae51e45998c0b41de8111b0727',
138660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cc53748aefd7d7a100dafa7ee826dbe17e7e14c04500e79b83a7960d0e379305',
137464,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9dd995b1166e87570dc10d6a2afb2e5bdc5a0a8897063971ff30f8be824cbdb0',
151440,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8088b428c6a34c587047b747ef8b7e12084beb84bd154855e5c2d5038047e712',
136676,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f38fc8738bdc33986e0ef3c36e4c1af93939c40aee8d6db38f93edcefac57482',
152500,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'60262effd08d123f96e4ab6a7b67e4bdf366592724ab6211ea76e298b32de956',
123836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c32503bb0fe3a7c346743b68f48dba5c7de00074f0b33e16f2e1e34686a75575',
138496,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'df6e4ecf9639e7dc02de4f99c5c63ebf641345e361470a40c48179c0dc47de55',
135496,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e3ea04696627c46a58fa5ef27becd6ba6de21760fbeda60718e5ea072290165b',
150784,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'aff20cbaad70c21cda602d83dcf1df3e91122111271040a17451c90f91c0bc44',
135488,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ce78de38f72b4be9e1af07713b59f4497cc2677898bd647e19679c6b10bd16d7',
149960,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'75383093cb1afbe41275d2188c2d57c958f8fb94eff2dc57382eb5c77ca82138',
134912,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'181f5aa6c3cfc77afd3dbcbc58dd4a621984f78739969774a7f939caee61b936',
145500,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Taviraj',
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,
);
}