kokoro_tts_flutter 0.2.0+1 copy "kokoro_tts_flutter: ^0.2.0+1" to clipboard
kokoro_tts_flutter: ^0.2.0+1 copied to clipboard

A Flutter implementation of Kokoro-TTS using ONNX Runtime

110/ 160
pub points
45
downloads

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Detected license: MIT.

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

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

55 out of 65 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: kokoro_tts_flutter.AudioUtils.AudioUtils.new, kokoro_tts_flutter.KokoroConfig.KokoroConfig.new, kokoro_tts_flutter.TokenizerConfig.TokenizerConfig.new, main, main.MyApp.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:kokoro_tts_flutter/kokoro_tts_flutter.dart that imports:
  • package:kokoro_tts_flutter/src/kokoro.dart that imports:
  • package:kokoro_tts_flutter/src/onnx_model_runner.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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

WARNING: Unnecessary cast.

lib/src/audio_utils.dart:44:29

   ╷
44 │           trimmedAudio[i] = audio[start + i] as int;
   │                             ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/audio_utils.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
async ^2.12.0 2.13.1 2.13.1
collection ^1.18.0 1.19.1 1.19.1
ffi ^2.1.0 2.2.0 2.2.0
flutter_onnxruntime ^1.4.3 1.7.0 1.7.0
http ^1.1.0 1.6.0 1.6.0
just_audio ^0.10.3 0.10.5 0.10.5
malsami ^0.0.3 0.0.3 0.0.3
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
audio_session - 0.2.3 0.2.3
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
just_audio_platform_interface - 4.6.0 4.6.0
just_audio_web - 0.4.16 0.4.16
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
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

flutter pub downgrade failed with:

OUT:
Resolving dependencies...
Downloading packages...
< async 2.12.0 (was 2.13.1)
< audio_session 0.1.24 (was 0.2.3)
+ charcode 1.2.0
< crypto 3.0.0 (was 3.0.7)
< ffi 2.1.0 (was 2.2.0)
< file 6.0.0 (was 7.0.1)
< flutter_onnxruntime 1.4.3 (was 1.7.0)
< http 1.1.0 (was 1.6.0)
[41 more lines]
ERR:
Exceeded timeout of 0:02:00.000000

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.12, Flutter 3.41.6, Dart 3.11.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
110
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter implementation of Kokoro-TTS using ONNX Runtime

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

async, collection, ffi, flutter, flutter_onnxruntime, http, just_audio, malsami, path, path_provider

More

Packages that depend on kokoro_tts_flutter