auto_translate_plugin 1.1.0 copy "auto_translate_plugin: ^1.1.0" to clipboard
auto_translate_plugin: ^1.1.0 copied to clipboard

A premium Flutter plugin for seamless on-device text translation using Google ML Kit. Offline, privacy-first, and easy to integrate.

70/ 160
pub points
313
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/kavipriyan/auto_translate_plugin was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/kavipriyan/auto_translate_plugin was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/kavipriyan/auto_translate_plugin/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

10 out of 15 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: auto_translate_plugin.AutoTranslateText.AutoTranslateText.new, auto_translate_plugin.AutoTranslateText.style, auto_translate_plugin.AutoTranslateText.text, auto_translate_plugin.AutoTranslateText.textAlign, auto_translate_plugin.TranslatorProvider.TranslatorProvider.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

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

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

ERROR: There's no constant named 'malayalam' in 'TranslateLanguage'.

lib/src/translator_service.dart:125:34

    ╷
125 │         return TranslateLanguage.malayalam;
    │                                  ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/translator_service.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
google_cloud_translation ^0.0.4 0.0.4 0.0.4
google_mlkit_translation ^0.13.1 0.13.1 0.13.1
provider ^6.1.5+1 6.1.5+1 6.1.5+1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
google_api_headers - 4.6.2 5.3.2
google_mlkit_commons - 0.11.1 0.11.1
html_unescape - 2.0.0 2.0.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
nested - 1.0.0 1.0.0
package_info_plus - 8.3.1 10.1.0
package_info_plus_platform_interface - 3.2.1 4.1.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.3.0

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 1 error:

  • UNDEFINED_ENUM_CONSTANT - lib/src/translator_service.dart:125:34 - There's no constant named 'malayalam' in 'TranslateLanguage'.

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.44.2, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
70
points
313
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A premium Flutter plugin for seamless on-device text translation using Google ML Kit. Offline, privacy-first, and easy to integrate.

Repository (GitHub)
View/report issues

Topics

#translation #mlkit #localization #on-device-ml #offline-translation

License

MIT (license)

Dependencies

flutter, google_cloud_translation, google_mlkit_translation, provider

More

Packages that depend on auto_translate_plugin