table_pagination 0.0.1
table_pagination: ^0.0.1 copied to clipboard
The package helps to implement pagination in table. User can have multiple pages and need to load data according to the offset so this package will help to show the desired amount of data in a page.
DESCRIPTION: A Flutter package that provides a table pagination widget for easy navigation between pages.
Table Pagination #
A Flutter package that provides a table pagination widget for easy navigation between pages.
Installation #
Add the following to your pubspec.yaml
file:
dependencies:
table_pagination: ^1.0.0
## Usage
EXAMPLE:
TablePagination(
handleIndexChange: (int pageIndex) {
// Handle index change logic here
},
pageIndex: 1, // Initial page index
totalRows: 100, // Total number of rows in the table
limit: 10, // Number of rows per page
kcPrimaryColor: Colors.blue, // Customize the primary color
)
CONTRIBUTION: Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.
LISENCE:
Please note that the structure and content of your `README.md` may vary based on the features and documentation you want to provide for your `table_pagination` package. Customize it according to your specific package details.