FLUTTER ECOSYSTEM

import_sorter

Automatically organize your dart imports

Latest version
4.6.0
30-day downloads
66.9K
Likes
347
Pub points
130

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Import Sorter is a developer tool for Flutter that automatically organizes Dart import statements in your code. It ensures imports are sorted consistently, improving readability and maintainability. The package integrates seamlessly into development workflows, supporting all major platforms including Android, iOS, macOS, Windows, and Linux. By running a simple command, developers can format their import lists according to predefined rules, reducing manual effort and minimizing merge conflicts. Ideal for teams enforcing consistent code style across projects.

Use cases
  • Automating import organization
  • Enforcing consistent code style
  • Reducing merge conflicts
  • Improving code readability
  • Streamlining team workflows
Key features
  • Automatic import sorting
  • Command-line integration
  • Supports multiple platforms
  • Prevents manual import errors
  • Integrates with Flutter workflows
Suitable for
  • Flutter teams
  • Code quality advocates
  • Large-scale projects
  • CI/CD pipelines
  • Developers prioritizing consistency
Considerations
  • Requires setup in project
  • May conflict with other formatters
  • Needs regular updates
  • Depends on correct configuration
  • Not suitable for one-off scripts
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add import_sorter

Categories

Source repository

Related projects