An open API service indexing awesome lists of open source software.

https://github.com/iamngoni/modest-pagination

Attempt at modularizing my own pagination 😁
https://github.com/iamngoni/modest-pagination

Last synced: about 1 month ago
JSON representation

Attempt at modularizing my own pagination 😁

Awesome Lists containing this project

README

        

# [ModestPagination](https://pub.dev/packages/modest_pagination/)



This is a simple to use pagination component (that most suites my needs and may fit into your needs too)

## Usage
### Add dependency
```yaml
dependencies:
modest_pagination:
```

### Or
```shell
flutter pub add modest_pagination
```

### Import package
```dart
import 'package:modest_pagination/modest_pagination.dart';
```

### Usage

```dart
ModestPagination(
items: countries,
itemsPerPage: 8,
pagesPerSheet: 6,
activeTextColor: Colors.white,
inactiveTextColor: Colors.white70,
pagesControllerIconsColor: Colors.white,
sheetsControllerIconsColor: Colors.white,
useListView: true,
childWidget: (T element) {
return Container();
},
)
```

Check example for more details

## Screenshot


GridView
ListView