appTextStyle function

TextStyle appTextStyle({
  1. required double fontSize,
  2. required FontWeight fontWeight,
  3. required double lineHeight,
  4. Color? color,
})

Implementation

TextStyle appTextStyle({
  required double fontSize,
  required FontWeight fontWeight,
  required double lineHeight,
  Color? color,
}) {
  return TextStyle(
    fontSize: fontSize,
    fontWeight: fontWeight,
    color: color,
    height: lineHeight / fontSize,
    // letterSpacing: 1.5,
  );
}