main function
void
main()
Entry point of the Flutter web app that renders inside the DevTools "rune" tab.
DevTools loads the compiled output of this app from
extension/devtools/build/ at debug time. The app:
- Calls
ext.rune.inspecton the host isolate over the VM service. - Parses the returned JSON into a
List<_ViewPayload>. - Renders one expandable card per live view surfacing the source string, data context, parse-cache size, and last error.
Refresh is manual for v0.1.0: tap the "Refresh" app-bar button
to re-query the host. Later versions can subscribe to a host
event stream once the main rune package grows one.
Implementation
void main() {
runApp(const DevToolsExtension(child: _RuneInspectorApp()));
}