AppTableViewConfig<M extends Object> constructor
const
AppTableViewConfig<M extends Object> ({
- TableActionsType? actionType,
- List<
Widget> filters = const [], - List<
AppAction< actions(M> >- List<
M>
- List<
- AppButtonConfig? action,
- bool showActionsAsTrailingIcon = false,
- ValueChanged<
M> ? onDoubleTapRow, - WidgetBuilder? emptyStateBuilder,
- int pageSize = 10,
- int fixedColumns = 0,
- List<
AppAction< persistentTrailingActions(M> >- M
- Set<
int> pageSizes = const {10},
Implementation
const AppTableViewConfig({
TableActionsType? actionType,
this.filters = const [],
this.actions,
this.action,
this.showActionsAsTrailingIcon = false,
this.onDoubleTapRow,
this.emptyStateBuilder,
this.pageSize = 10,
this.fixedColumns = 0,
this.persistentTrailingActions,
this.pageSizes = const {10},
}) : actionType = actionType ?? (actions == null ? TableActionsType.none : TableActionsType.multi);