ColoredBox constructor Null safety
Creates a widget that paints its area with the specified Color.
The color parameter must not be null.
Implementation
const ColoredBox({ required this.color, super.child, super.key })
: assert(color != null);
Creates a widget that paints its area with the specified Color.
The color parameter must not be null.
const ColoredBox({ required this.color, super.child, super.key })
: assert(color != null);