TF

tayormi/flutter-map

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

91 stars 质量 54 趋势 4

tayormi/flutter-map 是从 https://github.com/tayormi/flutter-map. 导入的特工技能候选人。

概览

tayormi/flutter-map 是从 https://github.com/tayormi/flutter-map. 导入的特工技能候选人。

概述(AI 翻译)

一个Flutter代理技能和工具链,可以生成视觉导航地图 Flutter 应用:每条路由都作为一张带有真实截图的卡片,运行时状态 变体如表格和对话框、屏幕间的导航边缘,以及 可重玩的银色流,展示每个屏幕的表现 被传达。

结果被包装成便携式、与生产商无关的.appmap捆绑包 与 expo-map 兼容,且可以为 在附带的互动Flutter可视化器中进行了探索。

它是如何运作的

  1. 解析: 静态检查GoRouter、go_router_builder、AutoRoute, Navigator 1.0,或Navigator 2.0代码,用于发现路线、参数, 导航边缘、深度链路方案和运行时提示。
  2. 探索: 在 iOS 模拟器或 Android 模拟器上打开每条路线, 捕捉真实渲染内容,分类重定向和失败,触发安全 运行时状态,并记录Argent流的导航路径。
  3. Pack: 合并图表,捕捉判决、截图、状态变体, 并将元数据重放到与博览地图兼容的.appmap档案中。
  4. 可视化: 检查图,区分代码声明和 代理观察的边缘,跟踪记录的流程,并审查交互标记

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

flutter-map

A Flutter agent skill and toolchain that produces a visual navigation map of a Flutter app: every route as a card with a real screenshot, runtime state variants such as sheets and dialogs, navigation edges between screens, and replayable Argent flows showing how each screen was reached.

The result is packaged as a portable, producer-neutral .appmap bundle compatible with expo-map, and can be explored in the included interactive Flutter visualiser.

How it works

┌──────────────┐     ┌───────────────────┐     ┌────────────┐     ┌──────────────┐
│ 1. parse     │ ──▶ │ 2. explore        │ ──▶ │ 3. pack    │ ──▶ │ 4. visualise │
│ Flutter code │     │ simulator/emulator│     │ .appmap zip│     │ Flutter web  │
└──────────────┘     └───────────────────┘     └────────────┘     └──────────────┘
 routes, edges,       screenshots, states,      manifest, map,     graph, flows,
 params, state hints  navigation flows          screens, flows     replay overlays
  1. Parse: statically inspect GoRouter, go_router_builder, AutoRoute, Navigator 1.0, or Navigator 2.0 code to discover routes, parameters, navigation edges, deep-link schemes, and runtime-state hints.
  2. Explore: open each route on an iOS Simulator or Android emulator, capture what really rendered, classify redirects and failures, trigger safe runtime states, and record navigation paths as Argent flows.
  3. Pack: merge the graph, capture verdicts, screenshots, state variants, and replay metadata into an expo-map-compatible .appmap archive.
  4. Visualise: inspect the graph, distinguish code-declared and agent-observed edges, follow recorded flows, and review interaction markers on the exact captured screen state.

Visualiser (Flutter web)

Hosted visualiser: flutter-map-visualiser.onrender.com

To run it locally:

cd apps/flutter_map_visualiser
flutter pub get
flutter run -d chrome

The bundled Bluesky demo opens automatically with 70 routes, 126 flows, and 85 screenshots, including 15 runtime-state variants. Of its 70 base captures, 58 are healthy screens or intentional empty states; the remaining captures document loading, not-found, error-boundary, and auth-wall outcomes.

Open an .appmap from .flutter-map/—or any expo-map-compatible bundle—to replace the demo. Pan and zoom the graph, inspect solid code-declared and dashed agent-observed edges, follow flow playback with tap/swipe overlays, switch captured screen states, isolate one-action neighbours, jump through the minimap, and copy replay commands. Bundle contents are parsed locally in the browser and are not uploaded.

*The bundled Bluesky map with its Home route selected, connected navigation

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add tayormi/flutter-map
新手?先看 mcpskill.org 教程 →