rokkitt method
- {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 Rokkitt font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle rokkitt({
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>{
GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9a0a1b138370aa3841a848edde26bd7045ac2a5a0f13a513b247417c3489811c',
59248,
),
GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'840d357a7d06133d859000a071917c4ea92f02d0f001f247137046392166ff1b',
59120,
),
GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'19b250411cba0e1bc39378cf1e47ecbd217b7b52e845159655611f9cce3f016f',
58996,
),
GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'd605b424de78054bd585518d8a4e136ab863ab5f3110ee43cb0745bca0f94eb3',
59040,
),
GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c3ce457383a5f17f5736ecff7d423f0d5e1f10ba000e7a78145fef0d293439c7',
58848,
),
GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'710018ab00f1b7534021eb425d0afa5cd1ccc82a3d91a174d7f359afac93f384',
58800,
),
GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'76808b96844704a6d75bee1943315ea236557fc6fb1a239ec5fcee6f9c5fcd58',
58648,
),
GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'1e99689267ca0778d003215820f88badff6b9986410c8b9d07d2c857c6e04beb',
58464,
),
GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'a8cf419d654432575866170e1d718f434f7f5cfa52673194ae8fc3d08cbefe92',
58212,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Rokkitt',
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,
);
}