GrockHList<T> constructor

const GrockHList<T>({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. int itemCount = 100,
  4. double? listHeight,
  5. double? itemHeight,
  6. double? itemWidth,
  7. bool reverse = false,
  8. EdgeInsetsGeometry? padding = EdgeInsets.zero,
  9. bool? primary,
  10. ScrollPhysics? physics,
  11. ScrollController? controller,
  12. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  13. Clip clipBehavior = Clip.hardEdge,
  14. String? restorationId,
  15. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
})

Implementation

const GrockHList(
    {Key? key,
    required this.itemBuilder,
    this.itemCount = 100,
    this.listHeight,
    this.itemHeight,
    this.itemWidth,
    this.reverse = false,
    this.padding = EdgeInsets.zero,
    this.primary,
    this.physics,
    this.controller,
    this.dragStartBehavior = DragStartBehavior.start,
    this.clipBehavior = Clip.hardEdge,
    this.restorationId,
    this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual})
    : super(key: key);