CrudActionListener<T> class

CRUD Table from action listener

Constructors

CrudActionListener({Future<T?> add(dynamic data)?, Future<T?>? edit(dynamic data)?, Future<bool> delete(dynamic data)?, List<T> refresh()?})

Properties

add ↔ (Future<T?> Function(dynamic data)?)
notify when click add new item button
getter/setter pair
delete ↔ (Future<bool> Function(dynamic data)?)
notify when click delete button
getter/setter pair
edit ↔ (Future<T?>? Function(dynamic data)?)
notify when click edit button
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
refresh ↔ (List<T> Function()?)
notify when click refresh button
getter/setter pair
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

Operators

operator ==(Object other) bool
The equality operator.
inherited