SmartColumnRow constructor

const SmartColumnRow({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required int itemCount,
  4. double dividerThickness = 0,
  5. Color dividerColor = Colors.transparent,
  6. double? cacheExtent,
  7. bool dividerEnd = false,
  8. bool dividerStart = false,
  9. Axis scrollDirection = Axis.vertical,
  10. IndexedWidgetBuilder? separatorBuilder,
  11. ScrollPhysics? physics,
  12. ScrollController? scrollController,
  13. 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);