正在加载视频...
视频加载失败
Jaspr and Flutter embedding api lets you just put full blown Flutter apps into your HTML static website
24,008 次观看 • 5 个月前 •via X (Twitter)
4 条评论

I'm confused, Jaspr uses HTML? Is it just forcing you to write HTML using Dart, and then it renders HTML? So this part has nothing to do with Flutter? So the fact that it can embed Flutter Web apps (as you've shown) is unrelated to this Dart-to-HTML aspect?

Yes, it's rendering HTML, has JS interop, css. It's like React but in Dart. And it has built-in real Flutter embedding via canvas. You can use common state mgmt libraries from Dart ecosystem and still get normal websites. We run a bunch of dashboards and internal tools on jaspr.

It can be client or server-side rendered, it can be plain static page for gh pages (and still embed Flutter!). Crazy stuff if you enjoy writing Dart.

Side note - when working with LLMs you need to explicitly set in rules to use JS interop via Dart, otherwise they just inline js scripts as strings everywhere :P It often feels like writing Flutter








