merriweatherSans static method
TextStyle
merriweatherSans({
- 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 Merriweather Sans font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle merriweatherSans({
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(
'6d27ca1560e99e2657cb9877ffb84a7c3d372e3121923c7a879d6dc157dd56b0',
90820,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a2ed76ca077e9505a5a6737c3e492d55f2772c310235f0384350c5c9b8343696',
90976,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0ae06dd9ad9a5a11685693fda0889f5fe9cf3710344b4ff189bdcda61d257ab1',
90972,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'07bc81575167a918954f21a2eadf3a890a4ad56975e772810b1fac88b1bff1f6',
91136,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'fb9cd21cc28854d60c8b31cfc6b621700b1a9b9559439a708498077e5692450a',
91064,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'585640bc4712635ce19480ba0899aa4c61be4bfec7542dc6cf8afab2d04f2d0a',
91028,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'0d37ca697cd531f9150a7ace0d7b85c2442e804c07e8d421089fb83d68491372',
79852,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3a691468f15456bc2efd604d339a8cbec7e18c684b3b626cf0468facb0ef83b3',
79768,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e463ab167bc294034b1b4e84b2b977522ddfa14c2e45c2539a19c5520225a314',
79900,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'3f00468ba3175ee3db11d6f32d24118f9afe7775c87072b9fbeadcc615a21d7f',
79968,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'16de94f03640a3f959951c904456b0c14257063b6dec5ee6b24cf0a8d73fbb3c',
79956,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'69cccf659607f55831804168786c557aaad70a2e1e26b78d57521cb0c8cbc1fd',
80064,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'MerriweatherSans',
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,
);
}