KCContainer constructor

KCContainer({
  1. required double width,
  2. required double height,
  3. Offset offset = Offset.zero,
  4. required Widget child,
  5. Color color = const Color(0x80333333),
  6. required PointController pointController,
  7. Decoration? decoration,
  8. BoxBorder? border,
  9. ImageProvider<Object>? background,
  10. double radius = 0,
  11. 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);