bodoniModa static method
TextStyle
bodoniModa({
- 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 Bodoni Moda font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle bodoniModa({
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.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f69437cfe3e26893e37bf96a2340db64c6e74d1511b30aed4a4253209605648d',
40240,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'0d3ef99a323d6aceebe327b7bb15e0e69ab71343f17fdee6bc4162a5929b5f8f',
40316,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'bfa9d9bbdd48390fb77e5fbb2cb6d100b41939fc7c832e1995528c926f405e92',
40352,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f9c4f8ff9bdbb2c18210e4ca73904a2f31ed7b97735fd697bf30afe4f2c247a0',
40332,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1308b28b7c85048f2d3a8d072ab64f05dadb439b0c30dc43eec0aae2a299fcfb',
40404,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b8fbea1abab4a41a99e2df9c52b5fc068bc2b5a409e27fc1c00ff5820011d373',
40344,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6da3c02e992a1809b85b0e15473ad5327ae332fb36fe59f2bb371b8ee0ab4925',
44120,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'519bb993829978dab11275f56cfd087d96ae3c7fae8c4aecb5cb66bb8d46e56f',
44260,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7330e93cbc626eec14be85ee284dc27afa642da7f5d9e51053746ae42351af85',
44320,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'4264d0b03e9efe8de3355a08923cdb27dda80b504d13c6d6d018c51c4cb70815',
44284,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd01427766fd8727dc6bb300ca459fa7e0379ae1edfe9bfa6832435c7797bff2d',
44416,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'dd85ad3b22536e77cad5165e67953e19c089f0a5bd196b33c64b15325127d987',
44384,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'BodoniModa',
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,
);
}