i18n_generator 0.0.1+3

  • Readme
  • Changelog
  • Installing
  • 44

-s, --source=<./res> Specify where to search for the arb files. (defaults to "./res")

-o, --output=<./lib/src/generated> Specify where to save the generated dart files. (defaults to "./lib/src/generated")

-w, --[no-]watch Whether you want to listen for file changes. NOTE: Keep in mind that the changes are detected when the file is saved after modification. So if you use an IDE make sure to save the arb file so that the dart files are updated.

-c, --[no-]create-paths This will create the folders structure recursively. (defaults to on)

0.0.1+3 #

  • let the system decide the port

0.0.1+2 #

  • rearrange files

0.0.1+1 #

  • add dependency

0.0.1 #

  • Initial version

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  i18n_generator: ^0.0.1+3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

We analyzed this package on Dec 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Health suggestions

Fix bin/main.dart. (-1 points)

Analysis of bin/main.dart reported 2 hints:

line 20 col 7: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 23 col 7: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Fix lib/src/build.dart. (-0.50 points)

Analysis of lib/src/build.dart reported 1 hint:

line 48 col 5: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Format lib/src/flutter_module.dart.

Run dartfmt to format lib/src/flutter_module.dart.

Format lib/src/plurals_result.dart.

Run dartfmt to format lib/src/plurals_result.dart.

Maintenance suggestions

The package description is too short. (-20 points)

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

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
args ^1.5.2 1.5.2
collection ^1.14.11 1.14.12
path ^1.4.1 1.6.4
shelf ^0.7.5 0.7.5
Transitive dependencies
async 2.4.0
charcode 1.1.2
http_parser 3.1.3
meta 1.1.8
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
pedantic ^1.0.0
test ^1.0.0