Integrate Flutter with Dialogflow

This repository contains the integration of Dialogflow in Flutter

Tools Used

  • Dialogflow package for configuring Dialogflow in Flutter
  • setState for state management
  • speech_to_text for implementing speech to text functionality

Steps to run the app in your local system

  • Download/Clone this project into your local system.
  • Create assets folder at the root of the directory and add your json file of the GCP credentials for Dialogflow. If you don't know how to get it, you can follow this blog.
  • Add assets folder in your pubspec.yaml file.
  • Make sure you name the file as cred.json which is in your assets folder.
  • Run your app.

Screenshot of the app

image

Contributing

You can fork this repo and add other state management libraries or add other Dialogflow libraries for integrating Dialogflow with Flutter. After that you can submit the PR.

Authors