xStyleText static method

TextStyle xStyleText({
  1. Color? colorText,
  2. double? fontSize,
  3. bool? activeBold = false,
  4. double? letterSpacing,
})

Implementation

static TextStyle xStyleText({Color? colorText, double? fontSize, bool? activeBold = false, double? letterSpacing}) {
  return TextStyle(color: colorText ?? XColors.xcolor_ForegroundLight, fontSize: fontSize ?? 18, fontWeight: activeBold == false ? null : FontWeight.bold, letterSpacing: letterSpacing ?? 0);
}