How to use typsense cloud in a flutter app

typesense_demo

this project shows how to use typsense cloud in a flutter app

File List

  • homepage.dart: class the reusable app bar
  • typesenseSearch.dart: this file contains code to configure typesense client and also contain a function to run user query in typesense server
  • appbar.dart: contains all the code for search bar, suggestions, result, sort and filter
  • productList.dart: this class inherts fro provider package and responsible for state management. it contains function for sort and filter
  • searchResultModal.dart: modal to store result returned from typesense server
  • secondpage.dart: just a page to show the next screen

GitHub

View Github