medium static method

TextStyle medium({
  1. Color? color,
  2. double? fs,
  3. double? height,
  4. TextDecoration? decoration,
})

Implementation

static TextStyle medium(
        {Color? color,
        double? fs,
        double? height,
        TextDecoration? decoration}) =>
    TextStyle(
      color: color ?? ThemeHandler.currentTheme.fontPrimaryColor,
      fontSize: (fs ?? 14) * resizeW,
      fontWeight: FontWeight.w500,
      fontFamily: _fontFamily,
      height: height,
      decoration: decoration,
      decorationColor: color,
    );