launcher-assist-for-flutter icon indicating copy to clipboard operation
launcher-assist-for-flutter copied to clipboard

Applications are not arranged in ascending order.

Open hemangjoshi37a opened this issue 4 years ago • 3 comments

Dear sir/madam,

I cant get the application arranged in the ascending order because the output of launcherAssist.getAllApps() is dynamic. Please give output of LauncherAssist.getAllApps() to List<Map<dynamic,dynamic>> if possible so that we can process the data such as arranging the list and other things.

I hope someone from dev team reads this and takes according action.

Thanks and regards, Hemang Joshi

hemangjoshi37a avatar Sep 14 '19 10:09 hemangjoshi37a

Added it in my pull request #4

ReinBentdal avatar Sep 28 '19 18:09 ReinBentdal

@ReinBentdal Since your request wasn't accepted since then, please tell how can a regular user use this package with your modifications

emvaized avatar May 11 '20 15:05 emvaized

@ReinBentdal Okay, I just copied text from your pull request to launcher_assist.dart file, and everything seems working now with this code:

 apps.sort((a, b) {
          return a['label']
              .toString()
              .toLowerCase()
              .compareTo(b['label'].toString().toLowerCase());
        });

So sad that this package got abandoned, as far as I see it currently has no fine analogs.

emvaized avatar May 11 '20 20:05 emvaized