Wednesday, 7 August 2019

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 pubrepository). To add this package as a dependency, add the following under dependenciessection 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

Using in code

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

GitHub

Flutter library for rendering a row of Material "Chip" buttons that gets sorted according to the given function — Read More
Latest commit to the master branch on 4-29-2019
Download as zip