0
votes

Is there a speech-to-text plugin that works for the more recent versions of Flutter/Dart?

When I try to use https://pub.dartlang.org/packages/speech_recognition, I get the error below:

The current Dart SDK version is 2.1.0-dev.5.0.flutter-4cf2d3990b.

Because speech depends on speech_recognition any which requires SDK >version <2.0.0, version solving failed.

pub get failed (1)

TIA

1

1 Answers

1
votes

Looks like that package is outdated : Jun 12, 2017 , you could fork the project and update the constraints or you can use any repo updated from another user.

I saw there are already issues opened and also PR sent.

You can use the repo updated from this user :

(In your pubspec.yaml)

speech_recognition:
    git: https://github.com/OsmanBrito/speech_recognition