Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that offers a customizable search widget for selecting options from a data list. It simplifies the implementation of search functionality by providing an intuitive interface to filter and choose items dynamically. Ideal for apps requiring quick access to large datasets, it supports real-time filtering and integrates seamlessly into existing UIs. The package is lightweight and designed with developer experience in mind.
Use cases
Filtering large datasets in forms
Searching through user lists
Implementing quick-select dropdowns
Enhancing navigation with searchable menus
Building dynamic autocomplete features
Key features
Real-time search filtering
Customizable UI components
Easy integration with existing widgets
Supports async data sources
Lightweight and performant
Suitable for
Developers building data-heavy apps
Apps needing searchable dropdowns
UIs with dynamic content selection
Teams prioritizing rapid feature development
Projects requiring minimal boilerplate
Considerations
Limited platform-specific customization
No built-in pagination for large datasets
Requires manual handling of loading states
Not optimized for extremely large datasets without batching
Depends on external data source management
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Search Widget
This Flutter package provides a Search Widget for selecting an option from a data list. Provides filtering of items based on the search text.
💻 Installation
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:search_widget:<latestversion>
❔ Usage
Import this class
import'package:search_widget/search_widget.dart';
Add Search Widget
Accepts data list as input
Option for getting selected item. Returns selected item or null if item is deleted
onItemSelected: (item) {
//Do whatever you would likesetState(() {
_selectedItem = item;
});
},
Option for pop list item builder. This basically returns a widget to show as list item in popup