KContainer constructor
KContainer({
- double margin = 0,
- double rightMargin = 0,
- double topMargin = 0,
- double buttomMargin = 0,
- double leftMargin = 0,
- double padding = 0,
- double leftPadding = 0,
- double buttomPadding = 0,
- double rightPadding = 0,
- double topPadding = 0,
- double? height,
- double? width,
- double radius = 0,
- Decoration? decoration,
- BoxBorder? border,
- Widget? child,
- ImageProvider<
Object> ? background, - Function? onClick,
- Color color = const Color(0x00ffffff),
- Alignment? alignment,
- 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);