high_q_paginated_drop_down 2.1.6
high_q_paginated_drop_down: ^2.1.6 copied to clipboard
Package handles the pagination and search in DropDown .
High Q Paginated DropDown #
A comprehensive Flutter package that handles pagination, search, and validation in DropDowns. It supports both single and multi-selection modes, with extensive customization options.
Features #
- Pagination Support: Efficiently handle large lists with pagination.
- Searchable: Built-in search functionality to filter items.
- Single & Multi Select: Support for selecting one or multiple items.
- Form Integration: Works seamlessly with Flutter's
Formwidget for validation. - Highly Customizable: Customize icons, decorations, builders, and more.
- Async Loading: Support for fetching data asynchronously.
Installation #
Add the dependency to your pubspec.yaml file:
dependencies:
high_q_paginated_drop_down: ^2.1.4
Then import it in your file:
import 'package:high_q_paginated_drop_down/high_q_paginated_drop_down.dart';
Usage #
This package provides a unified widget HighQDropDown. You can use the main constructor for standard single-selection, or named constructors for other modes:
HighQDropDown(...)- Main constructor. Use this for basic single selection with a provided list of items.HighQDropDown.paginated(...)- Use this for single selection where items are fetched asynchronously with pagination.HighQDropDown.multiSelect(...)- Use this for multi-selection from a provided list.HighQDropDown.paginatedMultiSelect(...)- Use this for multi-selection with paginated asynchronous data.
Note: For backward compatibility or specific use cases, you can still access the underlying widgets directly:
HighQSingleDropDown: Equivalent toHighQDropDown().HighQPaginatedDropdown: Equivalent toHighQDropDown.paginated().HighQMultiSelectDropDown: Equivalent toHighQDropDown.multiSelect().HighQMultiSelectPaginatedDropDown: Equivalent toHighQDropDown.paginatedMultiSelect().