Container constructor

const Container({
  1. Key? key,
  2. Unit? width,
  3. Unit? height,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. Overflow? overflow,
  7. Color? color,
  8. Border? border,
  9. bool center = false,
  10. List<Component> children = const [],
})

Implementation

const Container({
  super.key,
  this.width,
  this.height,
  this.padding,
  this.margin,
  this.overflow,
  this.color,
  this.border,
  this.center = false,
  this.children = const [],
});