flutter_key_lints 1.0.0
flutter_key_lints: ^1.0.0 copied to clipboard
A Flutter custom lint package to enforce proper widget key usage for improved performance, state management, and widget tree reconciliation.
1.0.0 #
Initial release of the flutter_key_lints package.
Features: #
require_widget_key: Lint rule to detect widgets without key parameterslist_item_key: Specialized lint rule for list/grid item keysappropriate_key_type: Lint rule to enforce proper key type usageanimation_key: Lint rule to ensure animated widgets have keysperformance_impact: Lint rule that analyzes potential performance impact of missing keys- Configurable exempt widget list through analysis_options.yaml
- Comprehensive documentation and examples
- Unit tests for all lint rules
Implementation details: #
- Built with custom_lint 0.7.5
- Compatible with analyzer 7.3.0 and above
- Compatible with Flutter 3.0.0 and above
- Customizable rule configuration