Interesting in development
markup_analyzer: localization checks for Flutter
A Dart analyzer plugin that finds strings passed to Flutter widgets directly instead of through localization.

Text written straight into a widget is easy to miss in review, and later it turns up untranslated in one of the app's language versions. The more screens and languages there are, the harder it is to track such places by hand.
markup_analyzer works as a native Dart analyzer plugin and is enabled in analysis_options.yaml, with no changes to pubspec.yaml. It checks the arguments of widget constructors and flags string literals, interpolation, joined strings, calls to methods that return String and other cases. Each rule is configured on its own: it can be an error, a warning, an info hint, or turned off.
The package is for teams that build multilingual apps and want to catch missing translations already at the code analysis stage. The check runs with a regular dart analyze, so it fits easily into the usual development process.
Open on pub.dev

