greenBox method

ColoredBox greenBox()

Wraps the widget in a green colored box.

Uses Colors.green as the background color.

Returns a ColoredBox with green background containing this widget.

Implementation

ColoredBox greenBox() => coloredBox(Colors.green);