color method

ColoredBox color(
  1. Color color, {
  2. Key? key,
})

Implementation

ColoredBox color(Color color, {Key? key}) =>
    ColoredBox(key: key, color: color, child: this);