KContainer constructor

KContainer({
  1. double margin = 0,
  2. double rightMargin = 0,
  3. double topMargin = 0,
  4. double buttomMargin = 0,
  5. double leftMargin = 0,
  6. double padding = 0,
  7. double leftPadding = 0,
  8. double buttomPadding = 0,
  9. double rightPadding = 0,
  10. double topPadding = 0,
  11. double? height,
  12. double? width,
  13. double radius = 0,
  14. Decoration? decoration,
  15. BoxBorder? border,
  16. Widget? child,
  17. ImageProvider<Object>? background,
  18. Function? onClick,
  19. Color color = const Color(0x00ffffff),
  20. Alignment? alignment,
  21. Key? key,
})

Implementation

KContainer({
  this.margin = 0,
  this.rightMargin = 0,
  this.topMargin = 0,
  this.buttomMargin = 0,
  this.leftMargin = 0,
  this.padding = 0,
  this.leftPadding = 0,
  this.buttomPadding = 0,
  this.rightPadding = 0,
  this.topPadding = 0,
  this.height,
  this.width,
  this.radius = 0,
  this.decoration,
  this.border,
  this.child,
  this.background,
  this.onClick,
  this.color = const Color(0x00ffffff),
  this.alignment,
  Key? key,
}) : super(key: key);