0 purchases
custom listview
Introducing a versatile and user-friendly Flutter package for custom lists with advanced searching functionality. Our package provides a streamlined solution for creating lists that can be easily searched and filtered, making it the perfect choice for developers looking to enhance the user experience in their applications.
With its powerful searching capabilities, users can easily find the information they need from a large list of items. Whether it's searching for a specific item or filtering results based on certain criteria, our package makes it simple and efficient.
Built using Flutter, this package is fast, responsive, and easy to integrate into your existing projects. And with its customizable design, you can create lists that match the look and feel of your application.
So if you're looking to add advanced searching functionality to your lists, look no further than our Flutter package. Try it today and see the difference it can make in your projects.
Features #
Searchable listview
Getting started #
install dart 2.19.0
Usage #
customise listview with searchable list
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return Container(
child: CustomListView(
sidePadding: sidePadding,
originalList: originalData,
itemBuildFunction: (updatedList) {
return (context, index) {
return VehicleInsuranceItem(itemData: updatedList?[index]);
};
},
filterFunction: (updateList, searchText) {
return updateList
.where((element) => (element["property_name"])
.toString()
.toLowerCase()
.startsWith(searchText.toLowerCase()))
.toList();
},
searchTextPlaceHolder: "Search",
)
);
}
}
copied to clipboard
Additional information #
NA
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.