OColorBox constructor
const
OColorBox({
- Key? key,
- required OColorBoxDecoration decoration,
- required Size size,
- VoidCallback? onPressed,
- Widget? child,
Creates an instance of OColorBox
Implementation
const OColorBox({
Key? key,
required this.decoration,
required this.size,
this.onPressed,
this.child,
}) : super(key: key);