spinner_box 0.1.0 copy "spinner_box: ^0.1.0" to clipboard
spinner_box: ^0.1.0 copied to clipboard

The drop-down criteria filter box supports single selection, multiple selection, and user-defined filtering content.

The drop-down criteria filter box supports single selection, multiple selection, and user-defined filtering content.

pub package

demo link:flutter web link。

Example description

Spinner Box #

Simple use #

  SpinnerBox.rebuilder(
            titles: const ['单选条件', '单选条件'],
            builder: (notifier) {
              return [
                SpinnerFilter(
                  data: _condition1,
                  onCompleted: (result, name, data) {
                    notifier.updateName(name);
                    setState(() {
                      _result = result;
                      _condition1 = data;
                    });
                  },
                ).heightPart,
                ...
              ];
            },
          ),

Update the title or highlighting of the selected item #

  notifier.updateName(name);
or
  notifier.setHighlight(true)
7
likes
145
pub points
57%
popularity

Publisher

unverified uploader

The drop-down criteria filter box supports single selection, multiple selection, and user-defined filtering content.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on spinner_box