A Flutter Widget displaying a row of Material Chips

sorted_chips_row

A Flutter Widget displaying a row of Material Chips, sorted according to the provided comparison function.

Flutter library for rendering a row of Material "Chip" buttons that gets sorted according to the given function

How to use

Adding dependency

This package is currently available only through GitHub (we'll soon publish it in the pub repository). To add this package as a dependency, add the following under dependencies section in your pubspec.yaml:

  sorted_chips_row:
    git:
      url: https://github.com/callstackincubator/flutter-sorted-chips-row.git

By default this dependency will get upgraded whenever a new version is being pushed to the master branch. To avoid that, we recommend that you also specify a ref pointing to a commit you verified:

      ref: COMMIT_ID

For details see the dart documentation on Git dependencies

Using in code

The main widget class in this package is SortedChipsRow. See the library's main file for usage example.

GitHub

https://github.com/callstackincubator/flutter-sorted-chips-row