Pyramid Lint logo

Custom lints, quick fixes, and assists for Dart and Flutter.

What is Pyramid Lint?

Pyramid Lint extends the Dart analyzer with optional rules for general Dart code and Flutter widgets. Enable only the checks you want, apply quick fixes from your IDE, and run the same analysis from the command line with dart analyze or flutter analyze.

Pyramid Lint is an analyzer plugin built with analysis_server_plugin. See Getting Started to enable it in your project.

Requirements

  • Dart 3.10+ (3.12+ recommended) or Flutter 3.38+

Lints

Identifies potential issues in your code. All rules are opt-in. See Available Lints and Getting Started for more information.

Quick fixes

Suggests automated corrections for many diagnostics in the IDE.

proper_super_init_state

Assists

Provides local refactorings at the cursor, such as wrap_with_stack and convert_to_for_in_iterable_indexed_loop.

wrap_with_layout_builder