xH2Text method
- {Color color = Colors.white,
- FontWeight fontWeight = FontWeight.bold}
Implementation
Widget xH2Text(
{Color color = Colors.white, FontWeight fontWeight = FontWeight.bold}) {
return H2(
text: this,
fontWeight: fontWeight,
color: color,
);
}