string_literal_finder 0.1.1+3 copy "string_literal_finder: ^0.1.1+3" to clipboard
string_literal_finder: ^0.1.1+3 copied to clipboard

outdated

Find non translated strings: Searches all dart files for string literals, excluding non translatable strings.

example/lib/example.dart

library example;

import 'package:logging/logging.dart';
import 'package:string_literal_finder_annotations/string_literal_finder_annotations.dart';

final _logger = Logger('example');

class Example {
  // ignore: avoid_unused_constructor_parameters
  const Example(@NonNls String test);
}

void exampleFunc(@NonNls String ignored, String warning) {}

void main() {
  const Example('Lorem ipsum');
  exampleFunc('Hello world', 'not translated');
  _logger.finer('Lorem ipsum');

  final testMap = nonNls({
    'key': 'value',
  });
}
11
likes
0
pub points
86%
popularity

Publisher

verified publishercodeux.design

Find non translated strings: Searches all dart files for string literals, excluding non translatable strings.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, args, logging, logging_appenders, meta, path, source_gen, string_literal_finder_annotations

More

Packages that depend on string_literal_finder