label static method

TextStyle label({
  1. String? fontFamily = "Nunito",
  2. double? fontSize = 15.0,
  3. FontWeight? fontWeight,
  4. bool? underline,
  5. Color? color = SchoolarColors.white,
})

Implementation

static TextStyle label(
    {String? fontFamily = "Nunito",
    double? fontSize = 15.0,
    FontWeight? fontWeight,
    bool? underline,
    Color? color = SchoolarColors.white}) {
  return TextStyle(
      fontFamily: fontFamily,
      fontSize: fontSize,
      color: color,
      decoration:
          underline == true ? TextDecoration.underline : TextDecoration.none,
      fontWeight: fontWeight);
}