faustina static method
TextStyle
faustina({
- 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 Faustina font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle faustina({
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.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5bd53e1c7e1a74de59f56bf60ed507a1ea8ffc5c8b5b29f9cecf1a13a581bac5',
69308,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4c5ce8c98e75defa8fcafdd5d441bda59458a4a81fbd9288372a89e5dd76be89',
69460,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'3602aa602f558369f1b312266387007c0050c5c9686b00c436457785b718a45b',
69556,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'61873ccdabce52c08a7271df0b3327b6c4ac19db45c0a2cf8299c8c94852e66b',
69492,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'27128ce86d143aca729110cff22d0083787a6e3794bd40d5d38570a5cd94557b',
69312,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a40e1216bc30ca61a4feca2485d67bd17c8bd976b52cad8209d478725191e2a8',
69472,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0e5d1db1d93c240574a8ce95ee0c33a2a53e94b87ada0fbfa02fdc1e332e5d96',
70980,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4b179b58fdf3c0d0df82e2f3179bdd060c4b1bdd283d5d68fdf4ffa1bf7c3647',
70800,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4953b2cb26e3488835237573227d5f2285251041c1115748218b8f0791a5f2cd',
70988,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'bf4a0cd052e2b314be43a8faabbd4a6999c5d4d4f386a231188506dab490a631',
70948,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'93013c1ceb8c22bb2dccf67b73072c9d4e435830e764217081972606951223e8',
70800,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'01703803b36486040f6eb5dd5ab9ebbf35bab7c994f3b50fe2e34b9375ee8103',
70920,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Faustina',
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,
);
}