Skip to main content

language_translator 0.0.9 copy "language_translator: ^0.0.9" to clipboard
language_translator: ^0.0.9 copied to clipboard

A lightweight Flutter package for easy multilingual support, providing string translation with or without context, RTL support, and a custom widget for translated text display.

150/ 160
pub points
54
downloads

We analyzed this package 3 days ago, and awarded it 150 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.

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

39 out of 128 API elements (30.5 %) have documentation comments.

Some symbols that are missing documentation: app_language, app_language.AppLanguage.defaultLanguage, app_language.AppLanguage.isSupported, app_language.AppLanguage.supportedLanguages, app_language_builder.

Passed check 10/10 points: Package has 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

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/assets/supported_locales.dart:1:1

  ╷
1 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/assets/supported_locales.dart

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/config/bloc_provider/language_setting_bloc_provider.dart:3:1

  ╷
3 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/config/bloc_provider/language_setting_bloc_provider.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
country_code_picker ^3.4.1 3.4.1 3.4.1
dart_data_type_parser ^0.0.3 0.0.3 0.0.3
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_localization ^0.4.1 0.4.1 1.0.0
get_it_di_global_variable ^0.0.8 0.0.8 0.0.8
hydrated_bloc ^11.0.0 11.0.0 11.0.0
navigation_without_context ^0.0.5 0.0.5 0.0.5
path_provider ^2.1.6 2.1.6 2.1.6
provider ^6.1.5+1 6.1.5+1 6.1.5+1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
bloc - 9.2.1 9.2.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
crypto - 3.0.8 3.0.8
diacritic - 0.1.6 0.1.6
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
get_it - 9.3.0 9.3.0
hive_ce - 2.24.0 2.24.0
hooks - 2.2.0 2.2.0
intl - 0.20.3 0.20.3
isolate_channel - 0.6.2 0.6.2
jni - 1.2.1 1.2.1
jni_flutter - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
json_annotation - 4.12.0 4.12.0
listen - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
objective_c - 9.6.4 9.6.4
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
shared_preferences - 2.5.6 2.5.6
shared_preferences_android - 2.5.5 2.5.5
shared_preferences_foundation - 2.6.2 2.6.2
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.6.1+1 3.6.1+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

The constraint `^0.4.1` on flutter_localization does not support the stable version `1.0.0`, that was published 16 days ago.

When flutter_localization is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_localization to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
54
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter package for easy multilingual support, providing string translation with or without context, RTL support, and a custom widget for translated text display.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

country_code_picker, dart_data_type_parser, flutter, flutter_bloc, flutter_localization, get_it_di_global_variable, hydrated_bloc, navigation_without_context, path_provider, provider

More

Packages that depend on language_translator