Container constructor

const Container({
  1. Widget? child,
  2. double? width,
  3. double? height,
  4. EdgeInsetsGeometry? padding,
  5. EdgeInsetsGeometry? margin,
  6. AlignmentGeometry? alignment,
  7. BoxDecoration? decoration,
  8. String? color,
  9. BoxConstraints? constraints,
})

Container API.

Implementation

const Container({
  this.child,
  this.width,
  this.height,
  this.padding,
  this.margin,
  this.alignment,
  this.decoration,
  this.color,
  this.constraints,
});