boxColor method

  1. @widgetFactory
Widget boxColor(
  1. Color color
)

Fills the area behind this widget with a color.

Implementation

@widgetFactory
Widget boxColor(Color color) {
  return FleetColoredBox(
    color: color,
    child: this,
  );
}