LeanContainer.noBoxStyle constructor
const
LeanContainer.noBoxStyle({
- Key? key,
- required Widget? child,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- BoxConstraints? constraints,
- AlignmentGeometry? alignment,
Use this constructor if you want a LeanContainer without a boxDecoration.
Implementation
const LeanContainer.noBoxStyle(
{Key? key,
required Widget? child,
this.width,
this.height,
this.margin,
this.padding,
this.constraints,
this.alignment})
: boxDecoration = const BoxDecoration(),color=null,_child=child,noDeco=true,
super(key: key);