ColoredBox constructor

const ColoredBox({
  1. required Color color,
  2. bool isAntiAlias = true,
  3. Widget? child,
  4. Key? key,
})

Creates a widget that paints its area with the specified Color.

Implementation

const ColoredBox({required this.color, this.isAntiAlias = true, super.child, super.key});