backgroundColor method
- Color color
Changes the TextStyle.backgroundColor for this widget.
Implementation
Widget backgroundColor(Color color) {
return DefaultTextStyle(
style: TextStyle(backgroundColor: color),
child: this,
);
}
Changes the TextStyle.backgroundColor for this widget.
Widget backgroundColor(Color color) {
return DefaultTextStyle(
style: TextStyle(backgroundColor: color),
child: this,
);
}