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