flutter_listfilter 0.0.1 flutter_listfilter: ^0.0.1 copied to clipboard
Flutter Filter Based on Given List
Flutter Filter Based on List #
Contents #
This package provides a Flutter widget for filtering based on a list of parameters. It includes:
- Auto-suggestions: Dynamically loads filter options based on the provided list.
- Easy Integration: Seamlessly integrate the filter widget into your Flutter application.
- Customization: Customize the primary color, line color, and other visual aspects to match your app's design.
- Efficient Filtering: Quickly filter through options to find the desired selection.
Example #
If you prefer using radio buttons:
FlutterListFilter(
isRadio: true,
primaryColor: Colors.blue,
lineColor: Color(0xFFA9B5BB),
textList: textList,
filterHeaderList: filterHeaderList,
builder: (List<dynamic> textLoadList) {
// Your code here
},
),
If you prefer using checkboxes:
FlutterListFilter(
isRadio: false,
primaryColor: Colors.blue,
lineColor: Color(0xFFA9B5BB),
textList: textList,
filterHeaderList: filterHeaderList,
builder: (List<dynamic> textLoadList) {
// Your code here
},
),
Ensure that you replace `textList` and `filterHeaderList` with your own data lists. In the `builder` function, you can implement your logic based on the selected filter options. Don't forget to adjust the image URLs to point to your actual images.