ListGridBuilderUtil class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
gridBuilder<T>({required int crossAxisCount, required ChildItemBuilder<T> childItemBuilder, required SimpleGetxController<List<T>> dataController, OnItemClick<T>? onItemClick, OnItemDoubleClick<T>? onItemDoubleClick, OnItemLongClick<T>? onItemLongClick, ScrollController? scrollController, double mainAxisSpacing = 0.0, double crossAxisSpacing = 0.0, EdgeInsetsGeometry? padding, ScrollPhysics? physics, bool shrinkWrap = false})
→ Widget
-
快速构建GridView
-
listBuilder<T>({required SimpleGetxController<List<T>> dataController, required ChildItemBuilder<T> childItemBuilder, OnItemClick<T>? onItemClick, OnItemDoubleClick<T>? onItemDoubleClick, OnItemLongClick<T>? onItemLongClick, ScrollController? scrollController, EdgeInsetsGeometry? padding, ScrollPhysics? physics, bool shrinkWrap = false})
→ Widget
-
快速构建ListView
-
staggeredGridBuilder<T>({required int crossAxisCount, required StaggeredGridTileBuilder<T> staggeredGridTileBuilder, required ChildItemBuilder<T> childItemBuilder, required SimpleGetxController<List<T>> dataController, OnItemClick<T>? onItemClick, OnItemDoubleClick<T>? onItemDoubleClick, OnItemLongClick<T>? onItemLongClick, ScrollController? scrollController, double mainAxisSpacing = 0.0, double crossAxisSpacing = 0.0, EdgeInsetsGeometry? padding, ScrollPhysics? physics})
→ Widget
-
快速构建存在item占不同列数的GridView,注意该方法不使用数据量特别多的情况
-
waterfallBuilder<T>({required SliverSimpleGridDelegate gridDelegate, required ChildItemBuilder<T> childItemBuilder, required SimpleGetxController<List<T>> dataController, OnItemClick<T>? onItemClick, OnItemDoubleClick<T>? onItemDoubleClick, OnItemLongClick<T>? onItemLongClick, ScrollController? scrollController, double mainAxisSpacing = 0.0, double crossAxisSpacing = 0.0, EdgeInsetsGeometry? padding, ScrollPhysics? physics, bool shrinkWrap = false})
→ Widget
-
快速构建瀑布流