KCContainer constructor
KCContainer({
- required double width,
- required double height,
- Offset offset = Offset.zero,
- required Widget child,
- Color color = const Color(0x80333333),
- required PointController pointController,
- Decoration? decoration,
- BoxBorder? border,
- ImageProvider<
Object> ? background, - double radius = 0,
- Key? key,
Implementation
KCContainer(
{required this.width,
required this.height,
this.offset = Offset.zero,
required this.child,
this.color = const Color(0x80333333),
required this.pointController,
this.decoration,
this.border,
this.background,
this.radius = 0,
Key? key})
: assert(width != null),
assert(height != null),
assert(pointController != null),
assert(child != null),
super(key: key);