semiBold static method

TextStyle semiBold({
  1. double? height,
  2. Color color = Colors.black,
  3. bool isUnderline = false,
  4. double fontSize = 15,
})

Implementation

static TextStyle semiBold({
  double? height,
  Color color = Colors.black,
  bool isUnderline = false,
  double fontSize = 15,
}) {
  return GoogleFonts.roboto(
    fontSize: fontSize,
    fontWeight: FontWeight.w600,
    color: color,
    height: height,
    decoration: isUnderline ? TextDecoration.underline : TextDecoration.none,
  );
}