kodchasan static method
TextStyle
kodchasan({
- 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 Kodchasan font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle kodchasan({
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.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'30f0fad0e022df33c63d0259c82458743fcc323e7ea43e05f1b04e863e589ede',
95536,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7e1413a7b25741c19346be97bd31a24f49bcd08647e1ace3c734e499d71f3aa3',
99884,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c3a7d5625bea76c10068ea5effa7617077cc433b199ef75dfc1f0d22cdf83830',
96716,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7715cad4026e2cc0f0e1acf38ebb62e087dd8ee2669102911bd2bb8818fdbe2c',
100924,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'683586bae49caa482d378c72927b319821383439f10554e3830dec3f8769eaeb',
96988,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'084d50734dfa4f4c091a79b705340f96f86c8b23ba99fad0821637edb1eac989',
101700,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'dbcbdbecfaaed79cc42236d2d9c061b52b1975305dad4652e69c36c77393b63a',
97288,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'd5d2bc726e78e93d303007d80a35b3efb33b0768f5ad4ed685c23def77b7d015',
102088,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'03837751df660f779f0f7ad6c5c8aa5ffd6c12941ba741eead579b1cda324bda',
97376,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'52ade8291a7aeecaa6346a70079a239dcd5bd4b6fd368d4efd97beac8f4cec71',
102560,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'5ae4ea372d6290762e17de851aef2f51b94913647cf64e7ca6a379e7a8fbdfc3',
97212,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'8e9a7003e1b7a0e336a6ad9a71e2e4a10c1cf4184dfeb3972b7f54041629c676',
102668,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'Kodchasan',
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,
);
}