bg method
Applies a solid background color.
Wraps this widget in a ColoredBox.
Ordering tip: Call .bg() before .rounded() to ensure the
background is clipped by the rounded corners:
widget.bg(TwColors.blue.shade500).rounded(TwRadii.lg) // correct
widget.rounded(TwRadii.lg).bg(TwColors.blue.shade500) // wrong: bg outside clip
Implementation
Widget bg(Color color) => ColoredBox(color: color, child: this);