AddText function
Implementation
Widget AddText(String text, Color color, double size, FontWeight weight,
bool isUnderLine) {
return Text(text,
textAlign: TextAlign.center,
style: TextStyle(
color: color,
fontSize: size,
fontWeight: weight,
decoration:
isUnderLine ? TextDecoration.underline : TextDecoration.none));
}