basic_message 1.0.0 copy "basic_message: ^1.0.0" to clipboard
basic_message: ^1.0.0 copied to clipboard

A structured, type-safe, and compile-time mapping localization framework for Dart, specifically designed for multi-environment projects (Flutter GUI and Dart CLI). It enables "Define Once, Use Everywh [...]

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate basic_message

Use it

The package has the following executables:

$ gen_msg_registry
$ gen_msg_resource

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add basic_message

With Flutter:

 $ flutter pub add basic_message

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  basic_message: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:basic_message/basic_message.dart';
0
likes
140
points
28
downloads

Documentation

API reference

Publisher

verified publisheriche2.com

Weekly Downloads

A structured, type-safe, and compile-time mapping localization framework for Dart, specifically designed for multi-environment projects (Flutter GUI and Dart CLI). It enables "Define Once, Use Everywhere" by decoupling business logic from platform-specific translation implementation.

Repository (GitHub)
View/report issues

Topics

#i18n #intl #localization #translation #language

Funding

Consider supporting this project:

github.com

License

LGPL-2.1 (license)

Dependencies

analyzer, args, dart_style, logging, path, yaml

More

Packages that depend on basic_message