flutter_loc 0.1.0 copy "flutter_loc: ^0.1.0" to clipboard
flutter_loc: ^0.1.0 copied to clipboard

flutter_loc simplifies localization in Flutter by automating string parsing and offering quick multilingual support.

3
likes
150/ 160
pub points
68
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

2 out of 6 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_loc, flutter_loc.commandsTree, flutter_loc.endPrint, flutter_loc.startPrint.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:flutter_loc/flutter_loc.dart that imports:
  • package:flutter_loc/src/helpers/usage_printer.dart that imports:
  • package:darted_cli/darted_cli.dart that imports:
  • package:darted_cli/src/darted/helper/darted.helper.dart that imports:
  • package:darted_cli/src/darted/helper/methods/methods.exports.dart that imports:
  • package:darted_cli/src/darted/helper/methods/callback_mapper.dart that imports:
  • package:darted_cli/src/darted/constants/print_constants.dart that imports:
  • package:darted_cli/src/console/helper/console.helper.dart that imports:
  • package:darted_cli/src/console/helper/methods/methods.exports.dart that imports:
  • package:darted_cli/src/console/helper/methods/choose_option.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_loc/flutter_loc.dart that imports:
  • package:flutter_loc/src/helpers/usage_printer.dart that imports:
  • package:darted_cli/darted_cli.dart that imports:
  • package:darted_cli/src/darted/helper/darted.helper.dart that imports:
  • package:darted_cli/src/darted/helper/methods/methods.exports.dart that imports:
  • package:darted_cli/src/darted/helper/methods/callback_mapper.dart that imports:
  • package:darted_cli/src/darted/constants/print_constants.dart that imports:
  • package:darted_cli/src/console/helper/console.helper.dart that imports:
  • package:darted_cli/src/console/helper/methods/methods.exports.dart that imports:
  • package:darted_cli/src/console/helper/methods/choose_option.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing a corresponding override of '=='.

lib/src/models/loc_match.model.dart:34:11

   ╷
34 │   int get hashCode =>
   │           ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/loc_match.model.dart

INFO: Missing a corresponding override of '=='.

lib/src/models/loc_replacement.model.dart:27:11

   ╷
27 │   int get hashCode => linePosition.hashCode ^ matchesInLine.hashCode;
   │           ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/loc_replacement.model.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^7.1.0 7.1.0 7.1.0
darted_cli ^0.1.17 0.1.19 0.1.19
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
archive - 4.0.2 4.0.2
async - 2.12.0 2.12.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
enough_ascii_art - 1.1.0 1.1.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
image - 4.5.2 4.5.2
macros - 0.1.3-main.0 0.1.3-main.0
meta - 1.16.0 1.16.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
posix - 6.0.1 6.0.1
pub_semver - 2.1.5 2.1.5
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.1.1 1.1.1
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

3
likes
150
points
68
downloads

Publisher

verified publishermicazi.dev

Weekly Downloads

flutter_loc simplifies localization in Flutter by automating string parsing and offering quick multilingual support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, darted_cli

More

Packages that depend on flutter_loc