FirestoreSearchResults.builder constructor
const
FirestoreSearchResults.builder({})
Returns the results from firestore and displays the data using builder
function provided by the developer
This widget can be used anywhere is the widget tree, and the results will correspond the searchQuery
of FirestoreSearchBar linked by tag
parameter
Implementation
const FirestoreSearchResults.builder(
{
required this.tag,
required this.firestoreCollectionName,
required this.searchBy,
this.limitOfRetrievedData = 10,
required this.dataListFromSnapshot,
this.builder,
this.initialBody,
this.resultsBodyBackgroundColor = Colors.white,
Key? key})
: super(key: key);