l10n_lint 0.3.1 copy "l10n_lint: ^0.3.1" to clipboard
l10n_lint: ^0.3.1 copied to clipboard

flutter l10n lint check if localization is initialized correctly and find string literal

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate l10n_lint

Use it

The package has the following executables:

$ l10n

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add l10n_lint

With Flutter:

 $ flutter pub add l10n_lint

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

dependencies:
  l10n_lint: ^0.3.1

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:l10n_lint/l10n_lint.dart';
2
likes
150
pub points
19%
popularity

Publisher

unverified uploader

flutter l10n lint check if localization is initialized correctly and find string literal

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, args, custom_lint_builder, file, glob, meta, path, pubspec_parse, yaml

More

Packages that depend on l10n_lint