CrudViewSource<T> class
Properties
-
columns
↔ List<String>
-
columns of the table, provide name of the column as a string array
getter/setter pair
-
createForm
↔ List<FormSection> Function(T data)?
-
when click a row of table, form will create according, here you have to provide the form fields crate function (check example for more details)
getter/setter pair
-
createRows
↔ List<Widget> Function(T data, int index)
-
function which will crate rows of the table (check example for more details)
getter/setter pair
-
crudActionListener
↔ CrudActionListener?
-
form crud actions listener (add, delete, update)
getter/setter pair
-
emptyEntityFactory
→ T Function()
-
provide an empty Object which you are use with this CRUD UI, which we get back when click on the submit button of the form
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onPageChange
↔ Future<List<T>> Function()
-
when scrolling the table you will notify with the result of pagination object
getter/setter pair
-
pageLimit
↔ int
-
page limit when lazy loading
getter/setter pair
-
rowHeight
↔ double
-
row height of the table
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited