sway 0.2.0 copy "sway: ^0.2.0" to clipboard
sway: ^0.2.0 copied to clipboard

Type-safe Flutter localization with an instant in-app locale switcher and zero-friction migration from ARB, easy_localization, and slang.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate sway

Use it

The package has the following executables:

$ codegen
$ migrate

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sway

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

dependencies:
  sway: ^0.2.0

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:sway/sway.dart';
0
likes
160
points
127
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publisherdarkmintis.dev

Weekly Downloads

Type-safe Flutter localization with an instant in-app locale switcher and zero-friction migration from ARB, easy_localization, and slang.

Repository (GitHub)
View/report issues

Topics

#localization #i18n #l10n #translation #flutter

License

MIT (license)

Dependencies

flutter, flutter_localizations, path

More

Packages that depend on sway