intl_toolbox 0.1.1

  • Readme
  • Changelog
  • Example
  • Installing
  • new64

intl_toolbox #

A useful toolbox for intl_translation package

Dependencies #

  • Add intl_translation dependency to your application

Example #

An example is available here

Getting Started #

This project is a toolbox for intl_translation package

To generate translation files :

flutter pub pub run intl_toolbox:generate

To add new strings edit lib/res/string_resources.dart file and call generate again

To add a new locale and create associated arb file :

flutter pub pub run intl_toolbox:add_locale en_US

You can find arb files in lib/generated/l10n/arb/ intl_messages.arb is the default arb file intl_LOCALE_CODE.arb represent your translations.

Don't forget to call the generate command after arb files edition

[0.1.0] - 30/12/19.

  • Initial release.

[0.1.1] - 30/12/19.

  • Update package description.
  • Remove unused variables.

example/README.md

int_toolbox_example #

Example for intl_toolbox plugin

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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


dependencies:
  intl_toolbox: ^0.1.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:intl_toolbox/intl_toolbox.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
29
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
64
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health issues and suggestions

Document public APIs. (-1 points)

12 out of 12 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
intl_translation ^0.17.7 0.17.9
path ^1.6.4 1.6.4
Transitive dependencies
_fe_analyzer_shared 1.0.3
analyzer 0.39.4
args 1.5.2
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
dart_style 1.3.3
glob 1.2.0
html 0.14.0+3
intl 0.16.1
js 0.6.1+1
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
pedantic 1.9.0
petitparser 2.4.0 3.0.0
pub_semver 1.4.2
sky_engine 0.0.99
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
watcher 0.9.7+13
yaml 2.2.0
Dev dependencies
flutter_test