toTextStyle method
To TextStyle converts the style to a TextStyle.
Implementation
TextStyle toTextStyle() {
return style ?? const TextStyle(fontSize: 16.0, color: Colors.black87);
}
To TextStyle converts the style to a TextStyle.
TextStyle toTextStyle() {
return style ?? const TextStyle(fontSize: 16.0, color: Colors.black87);
}