GenericListView<T> constructor
const
GenericListView<T> ({
- dynamic onRefresh,
- ListViewType type = ListViewType.normal,
- GenericBloc<
List< ? cubit,T> > - GenericBuilder? itemBuilder,
- List? params,
- List<
Widget> children = const [], - Color? dividerColor,
- String? emptyStr,
- Color? refreshBg,
- EdgeInsets padding = EdgeInsets.zero,
- Color? loadingColor,
- double spacing = 10,
- double runSpacing = 10,
- double gridItemHeight = 100,
- int gridCrossCount = 2,
Implementation
const GenericListView({
this.onRefresh,
this.type = ListViewType.normal,
this.cubit,
this.itemBuilder,
this.params,
this.children = const [],
this.dividerColor,
this.emptyStr,
this.refreshBg,
this.padding = EdgeInsets.zero,
this.loadingColor,
this.spacing = 10,
this.runSpacing = 10,
this.gridItemHeight = 100,
this.gridCrossCount = 2,
});