onChangePage property
The method fired when the page shown by the table changes.
This is an async method eventually returning a list of items. This can be useful for example to load new data with an API call depending on the current page, and then show the retrieved items in the table.
Implementation
final Future<List<T>?> Function(int page, int pageSize)? onChangePage;