alumniSans 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 Alumni Sans font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle alumniSans({
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(
'ab8e2291cdb8ff949f397e1bc5b31fb34ec8c5cd0dcc72ccb2d50dc7cd690c1e',
65360,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4ff640c25408d1be7bfa22ed170d7dbd3a7d8a463c461553efcdbb9ddccf6571',
65564,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8f85a341e95938785c075c225fbedddd651aa6d7879ce286e817ce779ca7ccea',
65544,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'6d553a1a4d1839ada96da4d28461aab0b95d7b05953aab7b748060b22dbfbcd3',
65584,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'feef506a1057853de0a8cfa39917e1523f5f26110dd7e5143fd8da28d48034da',
65684,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'768f2b522e8279c62d4cf7baf0c64252500e67a06442068bab8eb719482c8283',
65708,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b07aac26d69645aaebb1a005d5ef03ea5881f282143e870da4a4727af428f645',
65648,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'769bdbd84d8eec4c72b15cbd9c0b1dcff266b26d3ac2c2ad9f9acf0cc32fdb56',
65688,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd2963bfb1759bfcc2609a5c3f8a2ea65c7dc0aabc254891802f4afd9f471d668',
65360,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ee934999f3ac8d57065a331c91af40b25926ccf8c80acef8199bed55b3a0c55a',
68152,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8771e4b8e34ac5b2917f32ac2304a56bfaf42f90dae38666f4b5c1d40416b701',
68296,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3af69c10c24537ab0925d1186bab07ef7bf6b8c456daa8281f481f083afb8957',
68224,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5cf580ffdfceb373ccd171ab23ca21996e4e41ab20ef5cb5529bfd68b61f3b7b',
68144,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'363d1c638d0656278fd52c9356ca498064881540badf217c679cf9aef9d307be',
68272,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'54558f1b12af5f8959a9dfa1f25e470d7584ad4e00a867fbabc6556c0a049ba0',
68328,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'1f2bec7588aae19e5684b18762c3f4eef49023620e59300e08012fb8b52e0cec',
68220,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd64e4f8d97668639d9505bb2939a400218cac004b8c1cc68df85cf0d4d43ef93',
68256,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'9ce2ab5a9ef9b37ec2a95db3097ea83458f70b6dc0e940509f61c637acb3e5a2',
68052,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'AlumniSans',
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,
);
}