ItemDeleteCallback<T> typedef

ItemDeleteCallback<T> = bool Function(int deleteIdx, T deleteEntity)

每一行删除按钮的点击回调。返回值:是否要删除该 entity,如果该 handler 没有实现或者返回 true,则删除

Implementation

typedef ItemDeleteCallback<T> = bool Function(int deleteIdx, T deleteEntity);