flet_localization 0.0.4 copy "flet_localization: ^0.0.4" to clipboard
flet_localization: ^0.0.4 copied to clipboard

An addon for advanced localization.

95/ 160
pub points
59
downloads

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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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 ("0.0.4").

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: MIT.

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

0 out of 3 API elements (0.0 %) 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: flet_localization, flet_localization.createControl, flet_localization.ensureInitialized.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/row.dart that imports:
  • package:flet/src/controls/scrollable_control.dart that imports:
  • package:flet/src/flet_app_services.dart that imports:
  • package:flet/src/reducers.dart that imports:
  • package:flet/src/utils/desktop.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/row.dart that imports:
  • package:flet/src/controls/scrollable_control.dart that imports:
  • package:flet/src/flet_app_services.dart that imports:
  • package:flet/src/reducers.dart that imports:
  • package:flet/src/utils/desktop.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Windows`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/shake_detector.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/shake_detector.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/shake_detector.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/form_field.dart that imports:
  • package:flet/src/controls/create_control.dart that imports:
  • package:flet/src/controls/row.dart that imports:
  • package:flet/src/controls/scrollable_control.dart that imports:
  • package:flet/src/flet_app_services.dart that imports:
  • package:flet/src/reducers.dart that imports:
  • package:flet/src/utils/desktop.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flet_localization/flet_localization.dart that imports:
  • package:flet_localization/src/create_control.dart that imports:
  • package:flet/flet.dart that imports:
  • package:flet/src/utils/tooltip.dart that imports:
  • package:flet/src/utils/text.dart that imports:
  • package:flet/src/utils/drawing.dart that imports:
  • package:flet/src/utils/images.dart that imports:
  • package:flet/src/utils/images_io.dart that imports:
  • dart:io

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

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

INFO: Library names are not necessary.

lib/flet_localization.dart:1:9

  ╷
1 │ library flet_localization;
  │         ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flet_localization.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
flet any 0.28.3 0.28.3
mylocalization any 0.0.12 0.0.12
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
dbus - 0.7.11 0.7.11
device_info_plus - 11.5.0 12.3.0
device_info_plus_platform_interface - 7.0.3 7.0.3
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
file_picker - 10.3.7 10.3.7
fl_chart - 0.69.2 1.1.1
flutter_highlight - 0.7.0 0.7.0
flutter_markdown - 0.7.7+1 0.7.7+1 Discontinued
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_redux - 0.10.0 0.10.0
flutter_svg - 2.2.3 2.2.3
highlight - 0.7.0 0.7.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
markdown - 7.3.0 7.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
redux - 5.0.0 5.0.0
screen_retriever - 0.2.0 0.2.0
screen_retriever_linux - 0.2.0 0.2.0
screen_retriever_macos - 0.2.0 0.2.0
screen_retriever_platform_interface - 0.2.0 0.2.0
screen_retriever_windows - 0.2.0 0.2.0
sensors_plus - 4.0.2 7.0.0
sensors_plus_platform_interface - 1.2.0 2.0.1
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.19 1.1.19
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
web_socket_channel - 2.4.0 3.0.3
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0
window_manager - 0.4.3 0.5.1
window_to_front - 0.0.3 0.0.3
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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 4 errors:

  • UNDEFINED_CLASS - lib/src/create_control.dart:5:1 - Undefined class 'CreateControlFactory'.
  • UNDEFINED_CLASS - lib/src/create_control.dart:5:39 - Undefined class 'CreateControlArgs'.
  • UNDEFINED_FUNCTION - lib/src/create_control.dart:8:27 - The function 'MyLocalization' isn't defined.

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.3, Flutter 3.38.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
95
points
59
downloads

Publisher

verified publishercreative-media-group.eu

Weekly Downloads

An addon for advanced localization.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flet, flutter, mylocalization

More

Packages that depend on flet_localization