vit_combo_box 4.1.0 copy "vit_combo_box: ^4.1.0" to clipboard
vit_combo_box: ^4.1.0 copied to clipboard

A collection of very flexible ComboBoxes/Dropdrop.

This project focus on providing the three widgets:

  • VitComboBox: A generic implementation for a combobox.

  • FutureComboBox: Accepts a future as data source. While the future is not completed, a indicator is shown.

  • CheckedComboBox: A combobox containing a checkboxes in its overlay.

Every implementation is focused on providing the maximum customizability. Meaning that the widget can look however you want, so it fits with your design language.

Screenshot 2024-03-22 at 14 29 00 Screenshot 2024-03-22 at 14 29 09 Screenshot 2024-03-22 at 14 29 21

Usage #

 // Regular combo box
VitComboBox.itemBuilder(
    label: 'My combo box',
    options: optionsSet,
    selection: selectedOption,
    itemBuilder: itemBuilder,
    onSelected: (key) {
        setState(() {
            selectedOption = key;
        });
        return null;
    },
),

Limitations and known issues #

  • The overlay is always shown below the widget. Meaning that it is possible that the overlay is rendered partially outside the screen if the combobox is too close to the end of the screen.
0
likes
0
pub points
62%
popularity

Publisher

unverified uploader

A collection of very flexible ComboBoxes/Dropdrop.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on vit_combo_box