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