Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter Linter packages

Last updated: May 18, 2026

Linters enforce coding standards, catch logical errors before compilation, and ensure a unified code style across large engineering teams.

Best Practices for Linters

  • Strict Rules: The default flutter_lints package is very forgiving. For enterprise projects, adopt stricter rulesets (like very_good_analysis or custom analysis_options.yaml files) to enforce best practices like const usage and explicit types.
  • CI Integration: Enforce linting at the pipeline level. Configure your CI/CD system to automatically fail any Pull Request that contains linting errors, preventing bad code from ever reaching the main branch.
  • Custom Rules: If your team has specific architectural patterns (e.g., "all Bloc classes must end in Bloc"), write custom lint rules using the custom_lint package to enforce these domain-specific standards automatically.

The complete list of Linter configurations, Static Analyzers, and Code Formatting packages for Flutter is provided below.


flutter_lints
👍 1.33K   ⬇️ 5.3M
Dart 3 compatible
Maintenance Status: Good

Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

lints
👍 264   ⬇️ 6.2M
Dart 3 compatible
Maintenance Status: Good

Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team.

very_good_analysis
👍 755   ⬇️ 572.5K
Dart 3 compatible
Maintenance Status: Good

Lint rules for Dart and Flutter used internally at Very Good Ventures.

lint
👍 862   ⬇️ 171.2K
Dart 3 compatible
Maintenance Status: Average

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

custom_lint_core
👍 4   ⬇️ 998.8K
Dart 3 compatible
Maintenance Status: Good

A package to help writing custom linters

riverpod_lint
👍 321   ⬇️ 398.6K
Dart 3 compatible
Maintenance Status: Good

Riverpod_lint is a developer tool for users of Riverpod, designed to help stop common issues and simplify repetitive tasks.

dart_code_metrics_presets
👍 38   ⬇️ 105.8K
Dart 3 compatible
Maintenance Status: Good

Predefined presets for DCM, a code quality tool for Flutter dev teams.

pedantic_mono
👍 75   ⬇️ 38.1K
Dart 3 compatible
Maintenance Status: Good

[mono edition] Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

bloc_lint
👍 27   ⬇️ 93.1K
Dart 3 compatible
Maintenance Status: Good

Official lint rules for development when using the bloc state management library.

leancode_lint
👍 74   ⬇️ 32.7K
Dart 3 compatible
Maintenance Status: Good

Robust and high-quality lint rules used at LeanCode.

lucid_validation
👍 65   ⬇️ 4.1K
Dart 3 compatible
Maintenance Status: Average

A Dart/Flutter package for building strongly typed validation rules inspired by FluentValidation and created by the Flutterando community.

surf_lint_rules
👍 57   ⬇️ 2.5K
Dart 3 compatible
Maintenance Status: Average

Lint rules for "Surf" company for Dart and Flutter projects.

dart_pre_commit
👍 26   ⬇️ 8.8K
Dart 3 compatible
Maintenance Status: Good

A small collection of pre commit hooks to format and lint dart code

linteo
👍 30   ⬇️ 484
Dart 3 compatible
Maintenance Status: Poor

Flutter and Dart lint rules used at iteo

austerity
👍 30   ⬇️ 215
Dart 3 compatible
Maintenance Status: Good

Dart and Flutter static code analysis, but not for the faint hearted. This code tries to turn all violations in to red squiggly lines

extra_pedantic
👍 23   ⬇️ 8.8K
Dart 3 compatible
Maintenance Status: Good

Stricter Dart analyzer linter settings and best practices.

import_lint
👍 28   ⬇️ 2.6K
Dart 3 compatible
Maintenance Status: Good

The Import Lint package defines import lint rules and report on lints found in Dart code.

flutterando_analysis
👍 24   ⬇️ 497
Dart 3 compatible
Maintenance Status: Poor

Lint rules for Flutter and Dart, created for the open source projects of the Flutterando Community.

dart_code_metrics_annotations
👍 4   ⬇️ 15K
Dart 3 compatible
Maintenance Status: Good

Annotations for DCM.

pyramid_lint
👍 11   ⬇️ 3.1K
Dart 3 compatible
Maintenance Status: Good

Linting tool for Dart and Flutter projects to encourage good coding practices.

flame_lint
👍 9   ⬇️ 2.9K
Dart 3 compatible
Maintenance Status: Good

Flame lint package

amplify_lints
👍 3   ⬇️ 766
Dart 3 compatible
Maintenance Status: Good

The lint rules used in developing Amplify Flutter packages and plugins.

custom_lint
👍 262   ⬇️ 718.9K

Maintenance Status: Good

Lint rules are a powerful way to improve the maintainability of a project. Custom Lint allows package authors and developers to easily write custom lint rules.

custom_lint_builder
👍 22   ⬇️ 536.2K

Maintenance Status: Good

A package to help writing custom linters

dart_code_linter
👍 67   ⬇️ 82.6K

Maintenance Status: Good

Dart Code Linter is a software analytics tool that helps developers analyse and improve software quality. Dart Code Linter is based on a fork of Dart Code Metrics.

solid_lints
👍 57   ⬇️ 4.5K

Maintenance Status: Good

Lints for Dart and Flutter based on software industry standards and best practices.

design_system_lints
👍 8   ⬇️ 62

Maintenance Status: Poor

A collection of lints and code edits to enforce UI standards within a codebase. Built with Sidecar.

mvvm_linter
👍 2   ⬇️ 17

Maintenance Status: Average

The MVVM Linter is a tool designed to enforce best practices and coding standards in MVVM.