Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ItemComparator function doesn't work if you set groupComparator function #180

Open
willianbrun opened this issue May 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@willianbrun
Copy link

Description
I was setting the groupComparator function, to separate my elements by date, and also setting the ItemComparator function, to sort it inside each group (by date too), but the itemComparator function was not working, in fact, the code isn't even executed.

Expected behavior
ItemComparator function sort the elements inside the group previously sorted.

Workaround
Set only the itemComparator function, and so, order group by ASC/DESC.

Captura de Tela 2023-05-04 às 16 50 09

Information:

  • Dart version: 2.19.3
  • Flutter version: 3.7.6
  • Platform: Android/iOS
  • Package version: 5.1.2
@willianbrun willianbrun added the bug Something isn't working label May 4, 2023
@booooohdan
Copy link

@Dimibe any updates?
Also, I noticed, that you made a lot of changes, but the latest release was 20 months ago. Can you release a new version, please?

Знімок екрана 2024-02-14 о 03 38 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants