UFUListView constructor
const
UFUListView({
- Key? key,
- required int listCount,
- required Widget itemBuilder(),
- Future<
void> onRefresh()?, - Future<
void> onLoadMore()?, - bool? disableOnRefresh,
- EdgeInsets? padding = EdgeInsets.zero,
- Axis scrollDirection = Axis.vertical,
- ScrollPhysics? physics,
- ScrollController? scrollController,
- bool shrinkWrap = true,
- bool doAddFloatingButtonMargin = false,
- bool isGridView = false,
- SliverGridDelegate? gridDelegate,
Implementation
const UFUListView({
super.key,
required this.listCount,
required this.itemBuilder,
this.onRefresh,
this.onLoadMore,
this.disableOnRefresh,
this.padding = EdgeInsets.zero,
this.scrollDirection = Axis.vertical,
this.physics,
this.scrollController,
this.shrinkWrap = true,
this.doAddFloatingButtonMargin = false,
this.isGridView = false,
this.gridDelegate,
});