styleSubtitle function

TextStyle styleSubtitle({
  1. Color? color,
  2. FontWeight? fontWeight,
  3. double? size,
  4. double height = 1.2,
})

Implementation

TextStyle styleSubtitle({
  Color? color,
  FontWeight? fontWeight,
  double? size,
  double height = 1.2,
}) {
  final Color effectiveColor = color ?? COLOR_TEXT;

  return getStyleCustom(
    size ?? TEXT_SUBTITLE_SIZE,
    fontWeight ?? WEIGHT_BOLD,
    effectiveColor,
    height: height,
  );
}