label static method

TextStyle label({
  1. FontWeight fontWeight = FontWeight.w500,
  2. Color? color,
  3. bool allowFontScaling = false,
})

Label text style

Implementation

static TextStyle label({
  FontWeight fontWeight = FontWeight.w500,
  Color? color,
  bool allowFontScaling = false,
}) {
  return style(
    fontSize: 12,
    fontWeight: fontWeight,
    color: color,
    letterSpacing: 0.5,
    allowFontScaling: allowFontScaling,
  );
}