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

Annotations for methods and strings to mark them as non-translatable.

string_literal_finder_annotations #

Runtime helper for the string_literal_finder.

Usage #

A simple usage example:

import 'package:string_literal_finder_annotations/string_literal_finder_annotations.dart';

void myFunc(@NonNls String nonTranslatable) {}

main() {
  // ignored, because of @NonNls annotation
  myFunc('Lorem ipsum');

  // ignored, because wrapped in `nonNls`
  final map = nonNls({
    'lorem': 'ipsum',
  });
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
160
pub points
58%
popularity

Publisher

verified publishercodeux.design

Annotations for methods and strings to mark them as non-translatable.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on string_literal_finder_annotations