sourceSans3 static method
TextStyle
sourceSans3({
- 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 Source Sans 3 font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle sourceSans3({
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.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'134c31af66f3a1bb02be8b8b0343cc533f48b26814f4a3902eae8aaeef3cefb5',
216140,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dade5497632cb0f2f6268e2e493c284dd2f7cc2f2e6d17df2d25ef85450d20e2',
217108,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'bebd5115e3790d7729e75b5f2494f4c7052f4732836158a3ba1c260af61c2b71',
217224,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4a26eed79f25698e687011e3a1e4f235abc3e9c218e69d116b80af7dff715f50',
217012,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'15003d265614d43c0b0f583c0f680887280b8d108f19c942f08a839d433948b4',
217188,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5cf9809aceafe8d2b7d614421075e330063bdc2bc1dacd7aee4b4a7ca71af9c7',
217164,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f2741596cfc74335493bf42330bcb4850428ecb47f95e2ebc5a82fcd7c621d6b',
217168,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'be9ef9ab28128bdc477eaee83383883688e5ccb84638e2d3d9d271850d1aa935',
216120,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'b5be5f2902ab31a0746555824dc194a0585b82fd267f4fc0d6c175d2f1205ff0',
191824,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd280b0bf77b814b4e5488e10e013c57da7e836589b4708e1eaa741e8ce3cf136',
192996,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'246752d4becfefce3ea1d83c3f81bbd1f19abea730a042a7a7035cdcb5736f5c',
192836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'fa098adbc7b2f4e73606a98bd77a2a13c1f414379230fc13dcbae5da5dfb9c5c',
192656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ce935a193c061131ab4ad8d5d44227a8893f7f44f8f861da8693f773c0f4536e',
192804,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'ca6be7dd56d411a70ef84b87fd097ec1c672cffc6e57fee530d9e1635b551dc6',
192824,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'154908dd19be577dc34668291e818e15b6965e36a72d6fc8de8594bee0bf83ca',
192724,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'599a13d02748b44b74d0d93cff1bfd276ee7fbedee41cd890e7e36bb95215ea9',
191388,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'SourceSans3',
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,
);
}