flutter_dialogflow_web 0.0.1 copy "flutter_dialogflow_web: ^0.0.1" to clipboard
flutter_dialogflow_web: ^0.0.1 copied to clipboard

Flutter package for makes it easy to integrate dialogflow

Dialogflow v1 for Flutter Web. #

Dialogflow

A new Flutter package.

Installation #

  • Add this to your package's pubspec.yaml file:
dependencies:
  flutter_dialogflow_web: ^0.0.1
  • You can install packages from the command line: with Flutter:
$ flutter packages get
  • Dialogflow v1 Import it Now in your Dart code, you can use:
 import 'package:flutter_dialogflow_web/flutter_dialogflow_web.dart';

Usage #

Dialogflow v1 #

  • Dialogflow register and create new Agent
  • Copy Api key (Token)
  • Code
  Dialogflow dialogflow = Dialogflow(token: "Your Token");
  AIResponse response = await dialogflow.sendQuery("Your Query");
  • Example
  void Response(query) async {
    Dialogflow dialogflow = Dialogflow(token: "10178f9cb6cf12321asdf4aae75c87cd");
    AIResponse response = await dialogflow.sendQuery(query);
    print(response.getMessageResponse());
  }

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Flutter package for makes it easy to integrate dialogflow

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter_web, flutter_web_ui, http

More

Packages that depend on flutter_dialogflow_web