MContainer constructor

const MContainer({
  1. required MNode child,
  2. MColor? background,
  3. MGradient? gradient,
  4. double radius = 0,
  5. MBorder? border,
  6. double? width,
  7. double? height,
  8. MInsets? margin,
  9. MShadow? shadow,
  10. MInsets? padding,
  11. MRadius? corners,
})

Implementation

const MContainer({
  required this.child,
  this.background,
  this.gradient,
  this.radius = 0,
  this.border,
  this.width,
  this.height,
  this.margin,
  this.shadow,
  this.padding,
  this.corners,
});