AppTableViewConfig<M extends Object> constructor

const AppTableViewConfig<M extends Object>({
  1. TableActionsType? actionType,
  2. List<Widget> filters = const [],
  3. List<AppAction<M>> actions(
    1. List<M>
    )?,
  4. AppButtonConfig? action,
  5. bool showActionsAsTrailingIcon = false,
  6. ValueChanged<M>? onDoubleTapRow,
  7. WidgetBuilder? emptyStateBuilder,
  8. int pageSize = 10,
  9. int fixedColumns = 0,
  10. List<AppAction<M>> persistentTrailingActions(
    1. M
    )?,
  11. 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);