If rowsPerPage is 20, and the last page has 10 data rows, there will be 10 empty rows in the last page. Add an option for removing the empty rows. For mobile device like iphone,
having so much blank space is not ideal. It is ok to expand/shrink the table height while paginating.
PaginatedDataTable2( renderEmptyRowsInTheEnd: false, ... );
If rowsPerPage is 20, and the last page has 10 data rows, there will be 10 empty rows in the last page. Add an option for removing the empty rows. For mobile device like iphone, having so much blank space is not ideal. It is ok to expand/shrink the table height while paginating.
PaginatedDataTable2( renderEmptyRowsInTheEnd: false, hideEmptyRowsInTheEnd: true, ... rowsPerPage: 20, );