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.
Comments are closed.