redBox method
Wraps the widget in a red colored box.
Uses Colors.red as the background color.
Returns a ColoredBox with red background containing this widget.
Implementation
ColoredBox redBox() => coloredBox(Colors.red);
Wraps the widget in a red colored box.
Uses Colors.red as the background color.
Returns a ColoredBox with red background containing this widget.
ColoredBox redBox() => coloredBox(Colors.red);