LeanContainer constructor

const LeanContainer({
  1. Key? key,
  2. Widget? child,
  3. double? width,
  4. double? height,
  5. bool noDeco = false,
  6. EdgeInsetsGeometry? margin,
  7. EdgeInsetsGeometry? padding,
  8. Decoration? boxDecoration,
  9. BoxConstraints? constraints,
  10. AlignmentGeometry? alignment,
  11. Color? color,
})

Use this constructor if you want a LeanContainer with optional boxDecoration. If boxDecoration == null : Sets boxDecoration to defaultBoxDecoration.

Implementation

const LeanContainer(
    {Key? key,
    Widget? child,
    this.width,
    this.height,this.noDeco=false,
    this.margin,
    this.padding,
    this.boxDecoration,
    this.constraints,
    this.alignment, this.color})
    : _child=child,super(key: key);