Skip to content
pubscout

fcheck

1.6.4, released 4 days ago by vteam.com

Code quality analysis for Flutter and Dart with architecture, maintainability, and safety checks.

$ flutter pub add fcheck
Source repository

What it does

fCheck analyzes local Flutter and Dart projects for architecture, maintainability, and safety issues. It generates deterministic console, JSON, and diagram reports with 0-100% compliance scoring and can be used as a CLI tool or integrated as a Dart package.

AI-written summary of version 1.6.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need automated code quality checks and architecture enforcement for Flutter projects.
  • You want deterministic compliance scoring for CI/CD pipelines.
  • You want to build custom tools, IDE integrations, or AI review pipelines that consume project metrics.

Skip it when

  • You only need standard linting rules provided by official flutter_lints.
  • You require online cloud services or external AI calls for code analysis (fCheck is strictly local and private).

Strengths

  • Single local analysis pass covering architecture, dead code, localization, hardcoded strings, and duplicate code.
  • Provides both a CLI tool and a full Dart API for embedding quality metrics into custom apps and tools.
  • Deterministic execution with zero network calls and full privacy.

Weaknesses

  • Running synchronous analysis on very large codebases requires offloading to a background isolate to avoid UI jank.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
6

Activate globally via pub or add as a dev dependency, then run fCheck on your project directory.

import 'dart:io';
import 'package:fcheck/fcheck.dart';

void main() {
  final config = FcheckConfig.loadForInputDirectory(Directory('.'));
  final metrics = AnalyzeFolder.fromConfig(config).analyze();
  print('Score: ${metrics.complianceScore}%');
}

Alternatives

Packages that do the same job and could replace fcheck.

  • lints

    Official Dart lint rules if you only need standard static analysis integration.

  • flutter_lints

    Recommended lint rules for Flutter applications without complex architecture scoring.

Works with

Packages commonly used together with fcheck: ones it builds on, ones built on it, and its own family.