Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

import_rules review

Free#19 of 20 in Dart Flutter Static Analysis Tools

A focused Dart package for checking import conventions during development and project analysis.

6.2/10Editor score
import_rules6.2 Visit pub.dev

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

import_rules is an open-source Dart package for analyzing import usage and enforcing conventions in Dart projects. It is aimed at developers and teams that want consistent import practices, with feedback from the analyzer while coding and during automated project checks. Its focused scope suits teams that want rules for imports rather than a broader static-analysis tool covering unrelated code concerns. The package is distributed through Dart’s package ecosystem and configured within a Dart project, making it a fit for solo developers as well as small and mid-market teams working in that ecosystem.

The package centers on configurable convention rules and analysis of Dart imports. Developers can receive analyzer feedback during development, and the checks can also be included in project analysis workflows. That gives teams a way to apply the same import expectations while writing code and when running project checks. Its open-source model and free availability make it an option for teams seeking import checks without a paid plan. Setup is project-level through the Dart package ecosystem; the published description points developers to package and repository documentation for rule details and setup instructions.

The main trade-off is breadth: import_rules concentrates on imports rather than security analysis or a wide range of static-analysis concerns. Teams looking specifically to standardize import conventions may value that narrow focus, while teams seeking security checks should choose a tool that covers that need. Its fit is clearest for Dart projects; teams selecting a tool specifically for Flutter should verify that it meets their framework requirements before adopting it. Consider import_rules when configurable import rules and analyzer feedback are the priority, not as a substitute for broader analysis coverage.

import_rules pros and cons

  • Where it wins
    • Checks Dart import usage with static analysis.
    • Lets teams configure import-convention rules.
    • Provides analyzer feedback and can run in project analysis workflows.
  • Where it doesn't
    • Its scope is focused on import usage and conventions.
    • It does not provide security analysis.
    • Flutter support is not specified.

import_rules fact sheet, pricing and score →

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update