style property

TextStyle get style

Implementation

TextStyle get style{
  return TextStyle(fontSize: size, color: color, fontWeight: bold ? FontWeight.bold : FontWeight.normal, decoration: underline ? TextDecoration.underline : TextDecoration.none, fontFamily: font, fontStyle: italic ? FontStyle.italic : FontStyle.normal);
}