我知道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吗?