blackBox method

ColoredBox blackBox()

Wraps the widget in a black colored box.

Uses Colors.black as the background color.

Returns a ColoredBox with black background containing this widget.

Implementation

ColoredBox blackBox() => coloredBox(Colors.black);