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