museoModerno static method

TextStyle museoModerno({
  1. TextStyle? textStyle,
  2. Color? color,
  3. Color? backgroundColor,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. FontStyle? fontStyle,
  7. double? letterSpacing,
  8. double? wordSpacing,
  9. TextBaseline? textBaseline,
  10. double? height,
  11. Locale? locale,
  12. Paint? foreground,
  13. Paint? background,
  14. List<Shadow>? shadows,
  15. List<FontFeature>? fontFeatures,
  16. TextDecoration? decoration,
  17. Color? decorationColor,
  18. TextDecorationStyle? decorationStyle,
  19. double? decorationThickness,
})

Applies the MuseoModerno font family from Google Fonts to the given textStyle.

See:

Implementation

static TextStyle museoModerno({
  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(
      'bfc26444870dc50455d55bf0bc035c901f71823a0e13b223e68f56c20fdd73dd',
      54984,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '7783795416198cd6b061a1cd6006cf487ff1ca76e6cb1d29854ec2747aa89467',
      54992,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'bbc9175af1b28c60834c144251539103c82e692dcaab7a96169c5ddea9bfc5d8',
      54948,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '9f7bb754782416f17d94cbf4cc0fb9f50be8fa23a5a0521b80cae62940c04e09',
      54904,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '8fcba001ba46f6529c38d41bc82bfc0e18d15b3f0cbdc9a3c8e7aabdfce7f8af',
      54892,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '95eef099c2027ba04002593e404cf48b6ed20e171538f4862dbff816234bd870',
      54904,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '20543c9c60c22c07f781c46e66eb9448771213b4d1df14efb3b5462d8851a008',
      54872,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      'a102367a7bcc15711a59e6d4d9b5c3964e164723e87e50aae0d874209f3986c7',
      54900,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.normal,
    ): GoogleFontsFile(
      '5f4c190e64197310794e675e0fa155b77f971c7f9169c9079fa9c94b36184767',
      54844,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w100,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '15a3f5b2c6c3583ae335511defb1f557c8c5a9f33d095f86cd6f9dc19464f242',
      64524,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w200,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'a925472a113107c4ba9a80b88e8341dbf29df364159180beb54799b0bcc0aee3',
      64728,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w300,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'c0d18f8f5f718e99ac8c3d6e0db33d768aa14befb2b9afe46d683d864d1dbaa3',
      64744,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w400,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '257f51c72c434ea2e81d403f22186107cf7b3b8ebad1e056a1fbcb3f2fe16686',
      64588,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w500,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '4ec5584506c37ada7c6fc6ea2f1bbffd715307cbe40feccc9eca0dcabc16c340',
      64732,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w600,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'e8fc896339f99468f07b841c3d8c9ac6580ad63aa7cedc21b52d066c34a17542',
      64712,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w700,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '98f7a36b06e35519919b5b81f1e70f2e9bb517c2bb2c6d99a3123b4a3ef4895b',
      64700,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w800,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      '12932c7849514cc4f9b6c95005335bddb30a7f1b0244eca76ffab9fe38ab20ce',
      64700,
    ),
    const GoogleFontsVariant(
      fontWeight: FontWeight.w900,
      fontStyle: FontStyle.italic,
    ): GoogleFontsFile(
      'f456b3d6b9f833df1210385a04bb78572af3f2a6b85ded07d30eb1be09c5c6ec',
      64596,
    ),
  };

  return googleFontsTextStyle(
    textStyle: textStyle,
    fontFamily: 'MuseoModerno',
    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,
  );
}