SingImgTxtItem constructor

const SingImgTxtItem(
  1. List<ImgTxtBean> list, {
  2. Key? key,
  3. EdgeInsetsGeometry? padding,
  4. EdgeInsetsGeometry? margin,
  5. String? title,
  6. double? titleGap,
  7. TextStyle? titleTextStyle,
  8. BoxDecoration? decoration,
  9. BoxDecoration? backgroundDecoration,
  10. Size iconSize = const Size(28.0, 28.0),
  11. double? gap,
  12. TextStyle? textStyle,
  13. int crossAxisCount = 4,
  14. double crossAxisSpacing = 10.0,
  15. double mainAxisSpacing = 10.0,
  16. double childAspectRatio = 1.0,
  17. ScrollPhysics? physics,
  18. bool shrinkWrap = true,
})

Implementation

const SingImgTxtItem(
  this.list, {
  super.key,
  this.padding,
  this.margin,
  this.title,
  this.titleGap,
  this.titleTextStyle,
  this.decoration,
  this.backgroundDecoration,
  this.iconSize = const Size(28.0, 28.0),
  this.gap,
  this.textStyle,
  this.crossAxisCount = 4,
  this.crossAxisSpacing = 10.0,
  this.mainAxisSpacing = 10.0,
  this.childAspectRatio = 1.0,
  this.physics,
  this.shrinkWrap = true,
});