LayoutInfo constructor
LayoutInfo({
- required String key,
- required int type,
- Color? bgColor,
- String? bgImage,
- EdgeInfo? margin,
- EdgeInfo? padding,
- Alignment? alignment,
- CrossAxisAlignment? crossAxisAlignment,
- MainAxisAlignment? mainAxisAlignment,
- List<
LayoutInfo> ? children, - int? gradientDirection,
- bool isGradient = false,
- List<
Color> ? gradientList, - BorderInfo? border,
- double? width,
- double height = 200,
- int kind = ConstantParam.kindContainer,
- dynamic kindInfo,
- int count = 3,
- double ratio = 1,
Implementation
LayoutInfo({required this.key,required this.type,this.bgColor,this.bgImage,this.margin,this.padding,this.alignment,this.crossAxisAlignment,this.mainAxisAlignment,this.children,this.gradientDirection,this.isGradient = false,this.gradientList,this.border,this.width,this.height = 200,this.kind=ConstantParam.kindContainer,this.kindInfo,this.count=3,this.ratio=1});