The intl_helper provides an easy way to use
that can generate batch file automatically and
scan all the usage of
Intl.message() to find out duplicate resources.
pub global activate intl_helper
pub global run intl_helper
There are two batch files will be generated after command executed:
After you run the
ih_intl_extract batch file, the arb file will be generated
(in project/arb directory by default).
You have to put your arb file path in
ih_intl_generate first and then execute that.
If you need translate arb, see the session Extracting And Using Translated Messages
of Intl package.
Please file feature requests and bugs at the issue tracker.
Add this to your package's pubspec.yaml file:
dependencies: intl_helper: ^0.1.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:intl_helper/msg_item.dart'; import 'package:intl_helper/relative_path_converter.dart';
|0.1.1||Jun 17, 2017|
|0.1.0||Jun 17, 2017|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
dartdoc failed. (-10 points)
dartdoc runs without any issues.
|Dart SDK||>=1.23.0 <2.0.0|