Skip to content

Commit

Permalink
Remove obsolete code part from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
WieFel committed Sep 29, 2023
1 parent 3593997 commit d411634
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Expand Up @@ -81,19 +81,6 @@ NumberPaginator(
buttonUnselectedBackgroundColor: Colors.grey,
buttonSelectedBackgroundColor: Colors.blueGrey,
),
// show/hide the prev/next buttons
showPrevButton: false, // defaults to true
showNextButton: false, // defaults to true
// custom prev/next buttons using builder
prevButtonBuilder: (context) => TextButton(
onPressed: _controller.currentPage > 0 ? () => _controller.prev() : null, // _controller must be passed to NumberPaginator
child: const Row(
children: [
Icon(Icons.chevron_left),
Text("Previous"),
],
),
),
)
```
<p align="center">
Expand Down

0 comments on commit d411634

Please sign in to comment.