nandi/frqpublic Fork 0
43a02c2ddd7ebb7cdcd7d46f8c9a20b5b1b55b5e
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

main_nim.dart · 16 lines · 717 BDart Blame HistoryRaw
Nim owns the screen, Dart owns the pixels 43a02c2 nandi yesterday1/// 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.
13import 'package:flutter/material.dart';
14import 'nim_renderer.dart';
15
16void main() => runApp(const NimApp());