Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
xpwmaosldk committed Sep 11, 2024
1 parent 47aa989 commit 5c0acea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.10
- Remove unused variables.(controlButton)

## 1.0.9
- BREAKING CHANGE: Changed the variable name from pageInit to currentPage.

Expand Down
4 changes: 0 additions & 4 deletions lib/number_pagination.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class NumberPagination extends StatelessWidget {
this.currentPage = 1,
this.colorPrimary = Colors.black,
this.colorSub = Colors.white,
this.controlButton,
this.iconToFirst = const Icon(Icons.first_page),
this.iconPrevious = const Icon(Icons.keyboard_arrow_left),
this.iconNext = const Icon(Icons.keyboard_arrow_right),
Expand Down Expand Up @@ -46,9 +45,6 @@ class NumberPagination extends StatelessWidget {
///Color of background. default is white.
final Color colorSub;

///to First, to Previous, to next, to Last Button UI.
final Widget? controlButton;

///The icon of button to first.
final Widget iconToFirst;

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: number_pagination
description: Pagination using numbers, similar to the classic web-style pagination. Explore pages by numbers, not infinite scrolling!

version: 1.0.9
version: 1.0.10
homepage: https://github.com/xpwmaosldk/number_pagination

screenshots:
Expand Down

0 comments on commit 5c0acea

Please sign in to comment.