heading static method

Widget heading(
  1. String text, {
  2. required int heading,
  3. bool isNumber = false,
  4. Color? color,
})

HEADING

Implementation

static Widget heading(
  String text, {
  required int heading,
  bool isNumber = false,
  Color? color,
}) {
  return UIHeading(
    as: _headingStyles,
    heading: heading,
    text: text,
    color: color,
    fontFamily: isNumber ? SUIFonts.forNumbers : SUIFonts.forText,
  );
}