SmartColumnRow constructor
const
SmartColumnRow({
- Key? key,
- required IndexedWidgetBuilder itemBuilder,
- required int itemCount,
- double dividerThickness = 0,
- Color dividerColor = Colors.transparent,
- double? cacheExtent,
- bool dividerEnd = false,
- bool dividerStart = false,
- Axis scrollDirection = Axis.vertical,
- IndexedWidgetBuilder? separatorBuilder,
- ScrollPhysics? physics,
- ScrollController? scrollController,
- double? itemExtent,
Implementation
const SmartColumnRow(
{Key? key,
///item渲染器
required this.itemBuilder,
///数据个数
required this.itemCount,
///分割线高度
this.dividerThickness = 0,
///分割线颜色
this.dividerColor = Colors.transparent,
///缓存高度
this.cacheExtent,
///是否包含开头分割线
this.dividerEnd = false,
///是否包含结尾分割线
this.dividerStart = false,
///滑动方向
this.scrollDirection = Axis.vertical,
///分割线渲染器
this.separatorBuilder,
///滑动模式
this.physics,
this.scrollController,
this.itemExtent})
: super(key: key);