From d411634f4fd6dc97eb6b038a902a96258f76cda8 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 29 Sep 2023 22:30:27 +0200 Subject: [PATCH] Remove obsolete code part from readme --- README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/README.md b/README.md index 1ef89f6..5f10b11 100644 --- a/README.md +++ b/README.md @@ -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"), - ], - ), - ), ) ```