string_literal_finder_annotations 1.0.0 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.