flutter_responsive_table
flutter_responsive_table copied to clipboard
Bug: back button not working as expected on tables with 11 rows
When using the back button in the footer to go back to the first page of the table with 11 rows (considering rows per page is 10), the button is disabled and I’m unable to return to the first page. This occurs when there are 11 rows, but the button works correctly if there are 12 or more rows so I think it’s a counting problem.
Steps to reproduce:
- Load a table with exactly 11 rows.
- Use the forward button to go to the next page.
- Attempt to use the back button to return to the first page.
Expected behavior: The back button should be enabled and navigate to first page.
Actual behavior: The back button do not work correctly and i am unable to return to the first page with 11 rows, but can go back if there is 12 or more rows.