wiefel / number_paginator Goto Github PK
View Code? Open in Web Editor NEWA Flutter paginator widget for switching between page numbers.
Home Page: https://pub.dev/packages/number_paginator
License: BSD 3-Clause "New" or "Revised" License
A Flutter paginator widget for switching between page numbers.
Home Page: https://pub.dev/packages/number_paginator
License: BSD 3-Clause "New" or "Revised" License
Please add text to the icons on the next and previous pages.
For example: < Prev 1 2 3 4 5 6 7 8 9 10 Next >
For page numbers having 3 digits, e.g. 100, 253, ... the text is not completely visible within the buttons.
Hello,
Can you please add a possibility to remove the next and previous arrows ?
or a disabled option like the button disabled option ?
thank you
Numbers doesn't switch to highlight the new selected number and the controls doesn't work accurately
Hot reload is need to see changes in UI
Sometimes it is only necessary to show the previous page button and the next page button
/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/number_paginator-0.2.2/lib/src/ui/widgets/paginator_button.dart:34:13: Error: No named parameter with the name 'foregroundColor'.
foregroundColor: _foregroundColor(context, selected),
^^^^^^^^^^^^^^^
/fvm/default/packages/flutter/lib/src/material/text_button.dart:145:22: Context: Found this candidate, but the arguments don't match.
static ButtonStyle styleFrom({
^^^^^^^^^
════════ Exception caught by widgets library ═══════════════════════════════════
The following ArgumentError was thrown building LayoutBuilder:
Invalid argument: 1
NumberPaginator(
numberPages: 1,
),
flutter 3.3.3 (web)
number_paginator: ^0.2.1
os: MacOS 12.6
Trying to add config: NumberPaginatorUIConfig( // default height is 48 height: 64, buttonShape: BeveledRectangleBorder( borderRadius: BorderRadius.circular(8), ),
and getting 'The named parameter 'config' isn't defined' / 'The method NumberPaginatorUIConfig isn't defined for type...'
The default buttons size is too big for my phone in portrait mode (OnePlus 8T 1080x2400, but I think the viewport is 360x800) because the dots showing when navigating through pages make the numbers disappear.
Missing current page indicator when in page 2:
Because of this issue I set the height of the buttons to 40, in order to make more room for the buttons and the dots, and I noticed that the text inside the buttons scales perfectly but not the arrows.
Is it possibile to fix this?
Thanks!
How to know current selected, if selected on midle (ex: selected is 5, from total 10) ?
if on midle, only show button with ..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.