如何在Flutter Web应用程序中使用Dialogflow

时间:2019-08-08 22:03:23

标签: flutter dialogflow flutter-dependencies hummingbird

我知道Flutter SDK for Native产品有一个DialogFlow plugin。 由于Hummingbird / web不支持插件,因此我尝试使用pubspec.yaml中的插件github repo。我无法让DialogFlow在颤抖的网络上工作。 我尝试在pubspec.yaml中做类似的事情:

dependencies:
  flutter_dialogflow: any

dependency_overrides:
  flutter_dialogflow:
    git:
      url: https://github.com/VictorRancesCode/flutter_dialogflow

上面的配置给出以下错误:

Because every version of flutter_dialogflow from git depends on flutter any from sdk which is forbidden,
  flutter_dialogflow from git is forbidden.
So, because project_test depends on flutter_dialogflow from git, version solving failed.

有人在Web上尝试过DialogFlow吗?

0 个答案:

没有答案