purpleBox method

ColoredBox purpleBox()

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);