flutter_quality_assist 1.0.0
flutter_quality_assist: ^1.0.0 copied to clipboard
A Flutter code quality analyzer CLI tool that detects bad practices, architecture issues, performance problems, and maintainability concerns in Flutter projects.
Flutter Quality Assist #
Flutter Quality Assist is a lightweight Dart CLI tool designed to analyze Flutter projects and detect common code quality, architecture, performance, and maintainability issues.
This tool helps Flutter developers identify bad coding practices early and encourages cleaner, scalable, and production-ready Flutter codebases.
Features #
Flutter Quality Assist can detect:
✅ print() statements in production code
✅ Large widget files
✅ Large build() methods
✅ Hardcoded colors
✅ Hardcoded UI strings
✅ Missing const constructors
✅ Excessive setState() usage
✅ BuildContext usage after async gaps
✅ Missing mounted checks
✅ Missing dispose() methods
✅ Deep widget nesting
✅ Business logic inside UI widgets
✅ Repeated button styles
✅ Repeated text styles
✅ Large StatefulWidgets
✅ Missing Keys in ListView.builder
✅ Repeated MediaQuery usage
✅ Excessive Theme.of(context) usage
✅ Repeated spacing/padding values
✅ Long parameter lists
✅ Large methods/functions
✅ Navigation code repetition
✅ Repeated SizedBox spacing
✅ and many more Flutter quality checks...
Why Use This Package? #
Flutter projects often become difficult to maintain when:
- Widgets grow too large
- Business logic mixes with UI
- Hardcoded styles are repeated
- State management becomes messy
- Reusable components are not created
- Flutter best practices are ignored
Flutter Quality Assist helps identify these issues automatically and provides suggestions to improve the codebase.
Installation #
Activate globally using Dart:
dart pub global activate flutter_quality_assist