SingImgTxtItem constructor
const
SingImgTxtItem(
- List<
ImgTxtBean> list, { - Key? key,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- String? title,
- double? titleGap,
- TextStyle? titleTextStyle,
- BoxDecoration? decoration,
- BoxDecoration? backgroundDecoration,
- Size iconSize = const Size(28.0, 28.0),
- double? gap,
- TextStyle? textStyle,
- int crossAxisCount = 4,
- double crossAxisSpacing = 10.0,
- double mainAxisSpacing = 10.0,
- double childAspectRatio = 1.0,
- ScrollPhysics? physics,
- 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,
});