You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to add a lint that flags hardcoded strings in Dart/Flutter code. Hardcoded strings can make localization and maintenance more difficult, especially in larger apps. A lint to detect these would help enforce best practices and encourage the use of constants, resource files, or localization frameworks like flutter_localizations.
Example
// Bad
Text('Welcome');
// Good
Text(AppStrings.welcome);
Requirements
All CI/CD checks are passing.
There is no drop in the test coverage percentage.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Description
It would be helpful to add a lint that flags hardcoded strings in Dart/Flutter code. Hardcoded strings can make localization and maintenance more difficult, especially in larger apps. A lint to detect these would help enforce best practices and encourage the use of constants, resource files, or localization frameworks like flutter_localizations.
Example
Requirements
Additional Context
No response
The text was updated successfully, but these errors were encountered: