comfortaa static method

TextStyle comfortaa({
  1. double fontSize = 14,
  2. FontWeight fontWeight = FontWeight.w400,
  3. Color? color,
  4. double? height,
  5. TextDecoration? decoration,
  6. FontStyle? fontStyle,
  7. double? letterSpacing,
})

Get Comfortaa text style backed by the bundled package font.

Implementation

static TextStyle comfortaa({
  double fontSize = 14,
  FontWeight fontWeight = FontWeight.w400,
  Color? color,
  double? height,
  TextDecoration? decoration,
  FontStyle? fontStyle,
  double? letterSpacing,
}) {
  return TextStyle(
    fontFamily: _kFontFamily,
    package: _kFontPackage,
    fontSize: fontSize,
    fontWeight: fontWeight,
    fontStyle: fontStyle,
    letterSpacing: letterSpacing,
    color: color,
    height: height,
    decoration: decoration,
  );
}