medium static method

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

Implementation

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