flutter_key_lints library

Flutter Widget Key Linting Rules

A set of custom lint rules to enforce proper widget key usage for better Flutter application performance.

Classes

AnimationKeyRule
A rule that enforces proper key usage in animations to prevent flickering and state loss
AppropriateKeyTypeRule
A rule that enforces the appropriate key type usage
ListItemKeyRule
A rule that requires list items to have a key that uses their index
PerformanceImpactRule
A rule that analyzes the potential performance impact of missing widget keys
RequireWidgetKeyRule
A rule that requires all widget instantiations to have a key parameter

Functions

createPlugin() → PluginBase
This function creates the plugin for custom_lint