| Nim owns the screen, Dart owns the pixels 43a02c2 nandi 21h ago | 1 | /// The spike's entry point: a Flutter app whose screens come from Nim. |
| 2 | /// |
| 3 | /// No ClojureDart anywhere on this path — not `frq.main`, not `common/`, not |
| 4 | /// a `.cljd` file. Flutter starts, asks Nim for a tree, and paints it; every |
| 5 | /// tap and keystroke goes back as an event id. That is the whole program. |
| 6 | /// |
| 7 | /// just nim-spike |
| 8 | /// |
| 9 | /// It renders the connect screen, which is the one with enough in it to be a |
| 10 | /// real test: text fields that must keep a controller, a checkbox whose tick |
| 11 | /// changes another field, mode buttons that swap which fields exist, and an |
| 12 | /// error that appears and dismisses. |
| 13 | import 'package:flutter/material.dart'; |
| 14 | import 'nim_renderer.dart'; |
| 15 | |
| 16 | void main() => runApp(const NimApp()); |