LeanContainer constructor
const
LeanContainer({
- Key? key,
- Widget? child,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Decoration? boxDecoration,
- BoxConstraints? constraints,
- Alignment? alignment,
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.margin,
this.padding,
this.boxDecoration,
this.constraints,
this.alignment})
: _child=child,super(key: key);