>>182822Eh, Dart has multiple implementations. Dart compiles to js, Wasm, Dart VM bytecode, native binary. Flutter always produces native binaries for release version, so, you can see having macros is difficult because there are different compilers… It is similar to Ocaml, which, too, has both a VM implementation and native compiler. But Ocaml has macros in a form of PPX. So, I guess, because of hot reload you can't have reasonable macros, hot reload is very big thing of Dart, especially Flutter, so if one of them has to be sacrificed, it would be macros…
Eh, Figma is cool, I tried it, but it isn't Friendly to not company. Figma makes many thing simpler, it has very good support for Material, and design to code generator, but I prefer use other…
Eh, game's UI is too damn different… It is overwhelmingly immediate mode, more code oriented than a static schema like XML… (Which I hate, I don't understand why it is still exists if modeling interfaces through Flutter-like Widget s is most simplest thing.) I wouldn't say that game has simpler UI… It is simple to paint rectangle and detect if click was taken place in the bounds of dat rectangle… Ok, but wat happen if I want it to look nice, have sound click, ability to navigate interface with keyboard? Wat about animation? It can get very complicated very fast, but it is also very performant because of being immediate and managing state and memory all done by game developer not library… Go has very cool immediate mode UI library called Gio, but is not so nice because you have to create all by self… Less accessibility is really bad thing…
No fun? Doesn't sound too good… Well, here is idea… Make cat clothe. Indeed, do you ever wonder how cat would look in cat sweater? Think about it… (Where would find time for it? I dunno, be pirate, just pirate time and then's dat…)