string_literal_finder_annotations 0.1.1+1
string_literal_finder_annotations: ^0.1.1+1

Dart native js
Flutter Android iOS web

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
110
pub points
63%
popularity

Publisher

codeux.design

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on string_literal_finder_annotations