flutter_release_checklist library
Public surface of the flutter_release_checklist package.
Classes
- AnalyzeCheck
-
Runs
flutter analyzeand reports the result. Skips gracefully ifflutteris not on PATH. - AndroidManifestCheck
-
Verifies
android/app/src/main/AndroidManifest.xmldoes not enableandroid:debuggable="true". - AppIconCheck
- Verifies that platform launcher icons are present on both Android and iOS.
- BaseCheck
- Common interface every check implements. Each check is independently runnable and produces exactly one CheckResult.
- CheckerConfig
- Subset of Config passed to each check at run time, so checks don't need to know about YAML loading.
- CheckResult
- Outcome of running one BaseCheck.
- Config
-
Parsed
release_checklist.yamlplus CLI overrides. - DartDefineHit
- DartDefineLeakCheck
-
Scans
.vscode/launch.json, files under.idea/, and any*.sh/*.envfiles at the repo root for--dart-define KEY=VALUEentries that look like real secrets (long, non-placeholder values). - DebugFinding
- One finding in a single line.
- DebugModeCheck
-
Scans
lib/**.dartfor debug-only constructs left in production code: - HardcodedSecretsCheck
-
Scans
lib/**.dartfor hardcoded credentials. Findings are reported as warnings, not failures, since false positives are common. - IosPlistCheck
-
Verifies
ios/Runner/Info.plistdoes not enableNSAllowsArbitraryLoads, and warns about wildcard exception domains. - ProguardCheck
-
Verifies
android/app/proguard-rules.proexists and thatandroid/app/build.gradle(or its.ktsform) enablesminifyEnabled truefor the release build type. - Reporter
- Renders CheckResults to stdout in the format described in the spec.
- Runner
- Orchestrates check execution and reporting. Returns the process exit code.
- SecretMatch
- Match found in a single line of source.
- SemVer
- TestCoverageCheck
-
Runs
flutter test --coverage, parsescoverage/lcov.info, and compares the resulting line-coverage percent against the configured minimum. - VersionBumpCheck
-
Compares
version:in pubspec.yaml against the most recent git tag and fails if the project version is not strictly greater.
Enums
- CheckStatus
- Status of a single check after it runs.