sweeper 0.4.2 copy "sweeper: ^0.4.2" to clipboard
sweeper: ^0.4.2 copied to clipboard

Finds and removes unused gen-l10n translation keys from ARB files using resolved static analysis.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate sweeper

Use it

The package has the following executables:

$ sweeper

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sweeper

With Flutter:

 $ flutter pub add sweeper

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

dependencies:
  sweeper: ^0.4.2

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:sweeper/sweeper.dart';
3
likes
160
points
2.52k
downloads

Documentation

API reference

Publisher

verified publisheryashgarg.dev

Weekly Downloads

Finds and removes unused gen-l10n translation keys from ARB files using resolved static analysis.

Repository (GitHub)
View/report issues

Topics

#l10n #arb #flutter #translations #cli

License

MIT (license)

Dependencies

analyzer, args, glob, path, yaml

More

Packages that depend on sweeper