flutter_locales2 1.0.3 copy "flutter_locales2: ^1.0.3" to clipboard
flutter_locales2: ^1.0.3 copied to clipboard

discontinuedreplaced by: app_local

Easily localize your app to multiple languages by using json file in assets folder and you can change the language without close the app

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_locales2

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

dependencies:
  flutter_locales2: ^1.0.3

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_locales2/flutter_locales2.dart';
1
likes
40
points
27
downloads

Publisher

verified publisherabom.me

Weekly Downloads

Easily localize your app to multiple languages by using json file in assets folder and you can change the language without close the app

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl, shared_preferences

More

Packages that depend on flutter_locales2