anybody static method Null safety
- {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 Anybody font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle anybody({
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(
'41a45a4da103d24f78c4bf6cec1ed70768410ab5bf0ad3d0e135749d12c7a4a4',
59092,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'23578248bad0351cc5f467c1cc721edb92e4fead3c591008fa0e494b4da01bbd',
59268,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'748daf60bdd94911477e5211c31261468e992212a7f2f3fecc866111339edcf9',
59364,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cb0ebd8f9279630287285e04ea1f56a2ad0f7d972ebe40b029431bde5e6f90d4',
59316,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4786370200285e7df45ed25d2bdb78c7351af3a34266aedb986f3eed8ed4dcfd',
59508,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'eca1c8a6129a08aa01a9ea1d5adf13102e4d32d2f0535e53f8789005bbb33e8b',
59760,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b2fdf7e735ae8f4be4174d8e5167b590754b6bd788aa5f71d432d8181789f7bf',
59744,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'617b31982d47a5b207782164d9579eb32e6de568a28de1a3bf3db51aa44263db',
60028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c1488a3197f6f5eb75eae8eb477d11c26b6f4a37d943f3e0afc0e9bf93fb26ac',
60092,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7eed20c7cbf55d6b553bd1b29bbaa19578ee765e21919c78f0c71e571d884237',
60448,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ae835b8ad887ec9c0a9a8ab0c0d75bac5fe267307882123dd4376f239b34bee1',
60700,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'cc8d0645b3c5215853e36bc7268d48fb4ae0ea4eb4f8b388e3b334b634078f82',
60656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5f7dff664f2ce14d1b97826b62164d7d2c034a517601d6515a91048ff65f8454',
60660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7353bafc1c1798d67dc5d1df465cb3f9f503232cf83427f6fd30bdefd893ac19',
60772,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a09230c67faabeaba3bb3b1666677448eed39b32c0d5478534b1a22c349fb7f9',
61064,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ef3795cb478715e8e659d1bdb2d9662f5cc8f8a2c431397db5af8ec81c4ceae6',
61028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ce79041260122847bb641008461ca801c5b36d95ff536370b1d2b4d879680fa5',
61348,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'44c6bef42564b4544fa43fcb7b18e542dd813e85493e6a5e102e37fc6fac9343',
61300,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Anybody',
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,
);
}