Last updated:
0 purchases
simple pagination widget
Simple pagination #
A simple widget used to paginate list of widgets.
Usage #
Add the simple_pagination package to your pubspec dependencies.
Import SimplePagination.
import 'package:simple_pagination/simple_pagination.dart';
copied to clipboard
SimplePagenation(
children: [
Text("1"),Text("2"),Text("3")
]
)
copied to clipboard
We can overide the default values like.
itemsPerPage: 3,
nextIcon: Icon(Icons.arrow_forward,size: 20,),
previousIcon: Icon(Icons.arrow_back,size: 20,)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.