Can flutter PaginatedDataTable rowsPerPage be set to a number not divisible by 10?
UPDATE
Data used b
Let's say you have some method that fetches data from a remote server or locally and return a list of objects like this :
List
in PaginatedDataTable
widget set :
rowsPerPage: fetchedDataObj.length,
and
onRowsPerPageChanged: (fetchedDataObj.length < PaginatedDataTable.defaultRowsPerPage) ? null : (r) {
// setState(() {
// _rowsPerPage = r;
// });
},
),
Hope this helps. Thanks