cloud_text_to_speech 1.1.3 copy "cloud_text_to_speech: ^1.1.3" to clipboard
cloud_text_to_speech: ^1.1.3 copied to clipboard

Single interface to Google, Microsoft and Amazon Text-To-Speech.

85/ 160
pub points
332
downloads

We analyzed this package 7 hours ago, and awarded it 85 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

pubspec.yaml from the repository URL mismatch: expected https://github.com/markokosticdev/cloud_text_to_speech but got https://github.com/markokosticdev/cloud_text_to_speech_flutter.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: cloud_text_to_speech,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.1.3").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

14 out of 214 API elements (6.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: cloud_text_to_speech, cloud_text_to_speech.AudioFailedBadGatewayGoogle, cloud_text_to_speech.AudioFailedBadGatewayGoogle.AudioFailedBadGatewayGoogle.new, cloud_text_to_speech.AudioFailedBadGatewayMicrosoft, cloud_text_to_speech.AudioFailedBadGatewayMicrosoft.AudioFailedBadGatewayMicrosoft.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

WARNING: Unused import: 'package:cloud_text_to_speech/src/microsoft/common/config.dart'.

lib/src/common/other/constants.dart:1:8

  ╷
1 │ import 'package:cloud_text_to_speech/src/microsoft/common/config.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/common/other/constants.dart

INFO: The import of 'package:cloud_text_to_speech/src/microsoft/audio/audio_responses.dart' is unnecessary because all of the used elements are also provided by the import of 'package:cloud_text_to_speech/cloud_text_to_speech.dart'.

lib/src/universal/tts/tts.dart:2:8

  ╷
2 │ import 'package:cloud_text_to_speech/src/microsoft/audio/audio_responses.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/universal/tts/tts.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
build_runner ^2.4.6 2.10.4 2.10.4
http any 1.6.0 1.6.0
json_annotation ^4.8.1 4.9.0 4.9.0
locale_names ^1.0.0 1.1.1 1.1.1
xml ^6.3.0 6.6.1 6.6.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 92.0.0
analyzer - 9.0.0 9.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.3 4.0.3
build_config - 1.2.0 1.2.0
build_daemon - 4.1.1 4.1.1
built_collection - 5.1.1 5.1.1
built_value - 8.12.1 8.12.1
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
code_builder - 4.11.1 4.11.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.3 3.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
graphs - 2.3.2 2.3.2
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
shelf - 1.4.2 1.4.2
shelf_web_socket - 3.0.0 3.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
watcher - 1.2.0 1.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 8 errors:

  • URI_DOES_NOT_EXIST - lib/src/common/http/base_client.dart:3:8 - Target of URI doesn't exist: 'package:http/retry.dart'.
  • UNDEFINED_METHOD - lib/src/common/http/base_client.dart:8:19 - The method 'RetryClient' isn't defined for the type 'BaseClient'.
  • UNDEFINED_CLASS - lib/src/common/http/base_client.dart:10:9 - Undefined class 'RetryClient'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.4, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
31
likes
85
points
332
downloads

Publisher

verified publishermarkokostich.com

Weekly Downloads

Single interface to Google, Microsoft and Amazon Text-To-Speech.

Topics

#tts #text-to-speech #google-cloud #azure #aws

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

build_runner, flutter, http, json_annotation, locale_names, xml

More

Packages that depend on cloud_text_to_speech