LeanContainer constructor
const
LeanContainer({
- Key? key,
- Widget? child,
- double? width,
- double? height,
- bool noDeco = false,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Decoration? boxDecoration,
- BoxConstraints? constraints,
- AlignmentGeometry? alignment,
- 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);