LeanContainer.noBoxStyle constructor

const LeanContainer.noBoxStyle({
  1. Key? key,
  2. required Widget? child,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? margin,
  6. EdgeInsetsGeometry? padding,
  7. BoxConstraints? constraints,
  8. 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);