rasa static method
TextStyle
rasa({
- 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 Rasa font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle rasa({
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(
'0d85bdd13bcb823cd002a79c35a4d4fceef5739bec6ed5e3fc5bfdf103e079d2',
245272,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c3fde53c813a135bacafdbe98e29af5d53bd4c17a72dd3be09319e87f3033700',
246084,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ebc7f8b9ab64fbd97d026ee289a8b1112e5770987018df7aa3005d579f5fbfd2',
246072,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'fc1b6dda0accb216ee4562c75726acc9744492b6841baf15356160e62236734a',
246212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'ab530be0fe3dd20e8c0ea1d2a2a63eb57db7e7a3e80ce99999ea3606fb024bf6',
245336,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'c07ab631b8dbac1eb62c4cd38214751d3749209e7c967f5b5ddffb7ff2e631f8',
148656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'66a05fe0ffd8016968e816d92c640173a08a7a1f32636564a13fdaa2844aa541',
148584,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'46b93930d6ab0d4e1c0e953ed9577bc21e037fe66917af61c8e6f464d3ad0110',
148660,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8b3543312aae87f7882b686785ea99105041b48688b6002144523ff11e9a0cd9',
148792,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'24bba571344db8c9e617eef299151520bce2f2488b2f4cc6b47ddba0ffa5370b',
147912,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Rasa',
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,
);
}