UListView constructor

const UListView({
  1. List<Widget>? items,
  2. IndexedWidgetBuilder? itemBuilder,
  3. int? itemCount,
  4. Key? key,
  5. Widget? header,
  6. Widget? footer,
  7. ScrollPhysics? physics,
  8. bool shrinkWrap = false,
  9. EdgeInsets? padding,
  10. ScrollController? scrollController,
  11. bool? primary,
  12. bool reverse = false,
})

Implementation

const UListView({
  this.items,
  this.itemBuilder,
  this.itemCount,
  super.key,
  this.header,
  this.footer,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.scrollController,
  this.primary,
  this.reverse = false,
}) : assert(items != null || (itemBuilder != null && itemCount != null), "Provide either items or itemBuilder with itemCount.");