Comments (3)
Hi @jadenwjh,
what would you expect for an custom ordering? If you have any ideas please let me know.
Maybe this helps already a bit:
I have made another grouped list package where the groupSeparatorBuilder gets the whole element instead of just the groupBy
value. E.g. with that it's possible to display weekdays as groups names and sort them so that Monday is always on top (#47) .
I've created the new package because
- it builds on scrollable_positioned_list and
- performance with sticky headers is better
Check it out: https://github.com/Dimibe/sticky_grouped_list
from grouped_list.
Hi @Dimibe , I really liked the sticky_grouped_list. Thanks for sharing.
The custom ordering i was referring to was something like this:
I have different groups of items (Monday Tuesday ....). By default, Monday will be pushed to the top of the list. I am looking for a way to modify this order. For example, once it is Tuesday, I would like Monday to go to the bottom, and Tuesday to be pushed to the top.
That being said, I will be trying this out with the sticky grouped list as I think that is doable using DateTime. However, it might not apply if the groups are items with String names.
from grouped_list.
Done with #59
from grouped_list.
Related Issues (20)
- how i can get index of group separator
- Can this implement a chat like list ? HOT 1
- Is there a way to get the index of an item inside the group? HOT 2
- A GlobalKey can only be specified on one widget at a time in the widget tree. HOT 1
- Is there a way to draw a widget at the end of the last item? HOT 1
- Can separator be set to null? Because after setting itemExtent, the height doubles
- Ui Freezing when too many items are loaded in the list-LazyLoading feature request
- ItemComparator function doesn't work if you set groupComparator function HOT 1
- Wrong sticky header on first display of scrolled list HOT 3
- Support for container group HOT 1
- Feature Request: Custom Header Location HOT 1
- Bad state: Cannot add event after closing
- Element Position HOT 1
- Get first and / or last index of each group
- useStickyGroupSeparators
- Implicit animations for items when data source changes HOT 1
- index for group headers and separators HOT 1
- Highlight current group separator HOT 2
- Footer widget doesn't work as intended HOT 2
- Hide Separator if only one group HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grouped_list.