style function

TextStyle style(
  1. FontWeight weight,
  2. double size,
  3. double height,
  4. Color color, {
  5. bool underlined = false,
  6. double spacing = 0,
})

Implementation

TextStyle style(FontWeight weight, double size, double height, Color color, {bool underlined = false, double spacing = 0}) => TextStyle(
      color: color,
      height: height / size,
      fontSize: size,
      fontFamily: 'SUITv1',
      fontWeight: weight,
      letterSpacing: spacing,
      decoration: underlined ? TextDecoration.underline : TextDecoration.none,
      decorationColor: color,
    );