CrudViewSource<T> constructor
CrudViewSource<T> ({
- required List<
String> columns, - required double rowHeight,
- required int pageLimit,
- required T emptyEntityFactory(),
- required List<
Widget> createRows(- T data,
- int index
- List<
FormSection> createForm(- T data
- required Future<
List< onPageChange(T> >- Pagination pagination
- CrudActionListener? crudActionListener,
Implementation
CrudViewSource(
{required this.columns,
required this.rowHeight,
required this.pageLimit,
required this.emptyEntityFactory,
required this.createRows,
this.createForm,
required this.onPageChange,
this.crudActionListener});