headerText method

Text headerText(
  1. String text, {
  2. Color color = Colors.black54,
})

Implementation

Text headerText(String text, {Color color = Colors.black54}) => Text(
      text,
      style: TextStyle(color: calculateTextColor(color), fontSize: 12),
      textAlign: TextAlign.center,
    );