flutter_audit library

Public API for flutter_audit.

Most users run this tool via the flutter_audit CLI executable. This library exists so the same engine can be embedded in IDE plugins, custom scripts, or CI tooling.

Classes

AuditRule
The contract every audit rule must implement.
AuditScore
Score breakdown by category, each 0–100.
Issue
A single audit finding.
ParsedFile
Holds the parsed AST of a single Dart source file plus the raw text.
Parser
Wraps the analyzer package to produce ParsedFiles.
Report
The complete audit result.
RulesEngine
Coordinates execution of all registered rules.
Scanner
Walks a Flutter project directory and returns analyzable Dart files.
ScoreCalculator
Converts a list of issues into 0-100 scores per category.

Enums

Severity
Severity levels for audit findings, ordered by impact.

Extensions

SeverityX on Severity