The macOS implementation of
Add the dependency
This package has been endorsed, meaning that you only need to add
as a dependency in your
pubspec.yaml. It will be automatically included in your app when you
This is what the above means to your
... dependencies: ... text_to_speech: <text_to_speech_version> ...
If you wish to use the macos package only, you can add
text_to_speech_macos as a dependency:
... dependencies: ... text_to_speech_macos: <text_to_speech_macos_version> ...
For the usage details, please check it