rtk-ai/rtk

Support for Flutter & Dart commands (flutter pub, flutter analyze, dart analyze)

Open

#1.098 geöffnet am 9. Apr. 2026

Auf GitHub ansehen
 (6 Kommentare) (11 Reaktionen) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clieffort-mediumenhancementhelp wantedpriority:medium

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)

Beschreibung

Feature Request: Flutter & Dart Support

Context

I'm using RTK extensively and ran rtk discover, which showed significant missed savings from Flutter and Dart commands.

Unhandled Commands

  • flutter pub (30x)
  • flutter analyze (30x)
  • dart analyze (5x)

Example usage:

  • flutter pub get 2>&1
  • flutter analyze --no-pub 2>&1
  • dart analyze lib/... 2>&1

Problem

These commands generate large outputs, especially:

  • flutter analyze → very verbose lint + diagnostics
  • dart analyze → similar static analysis output

Currently RTK does not optimize or filter these outputs, leading to unnecessary token usage.

Suggested Solution

Add support similar to existing commands like rtk grep / rtk read, for example:

  • rtk flutter analyze

    • Summarize issues (errors, warnings, info)
    • Group by file
    • Collapse repeated diagnostics
    • Show counts + top issues
  • rtk flutter pub

    • Filter install logs
    • Highlight only:
      • errors
      • dependency conflicts
      • version changes
  • rtk dart analyze

    • Same approach as flutter analyze

Expected Benefit

From rtk discover: ~65 executions → significant token savings (flutter analyze alone is very heavy)

Additional Notes

Flutter/Dart workflows are common, so this could benefit a large number of developers using RTK.

Happy to help test or provide sample outputs if needed.

Contributor Guide