LayoutInfo constructor

LayoutInfo({
  1. required String key,
  2. required int type,
  3. Color? bgColor,
  4. String? bgImage,
  5. EdgeInfo? margin,
  6. EdgeInfo? padding,
  7. Alignment? alignment,
  8. CrossAxisAlignment? crossAxisAlignment,
  9. MainAxisAlignment? mainAxisAlignment,
  10. List<LayoutInfo>? children,
  11. int? gradientDirection,
  12. bool isGradient = false,
  13. List<Color>? gradientList,
  14. BorderInfo? border,
  15. double? width,
  16. double height = 200,
  17. int kind = ConstantParam.kindContainer,
  18. dynamic kindInfo,
  19. int count = 3,
  20. 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});