rosario static method
TextStyle
rosario({
- 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 Rosario font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle rosario({
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(
'8590cd8b3933a233bb8c8cc7a4598b4df1c774e01f03b42f2f2f459c6804f5ee',
72908,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd45061d0ed10c50d90378edf4bd6d6b7b14b5d4d53196480e15414a6c9d51d27',
73144,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5c1594306d93896c0a8e29d620b1a0a7339778ba6c8cdced015f3faa7b4c0cd9',
73220,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'01bdae0581784515ee7bb1d67ccb6a88bcad8bd78663ca50cecb729f645c48e7',
73144,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'2331fc29417abc90ed1c4df86429c12ce50a9e8ce3c010ab783cf3ed784f0ecd',
72716,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'298480c579f2279e59e5a61e61f45449d3563c47ba74455ffbff2ba20d367b23',
71472,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'5af0f52a0e65aeb852e247a4bb5d4b5b978514ea325b50585fd44f86faa10cc9',
71336,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'71742e1aa85b0a48a5314c956a69a129a4e0c9e71f39debc873a7e6f9047403b',
71508,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c6352b1fda5ddc469c74391f091f27669d201c497a7396cee3fb570c05aee96d',
71544,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f937e27c634e5adbdb965e25b15aefd9bcb61ab32d84ddbe4edcb210b3175025',
71140,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Rosario',
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,
);
}