Regarding that last sentence, it’s possible to have a DOM and yet still write it in Flutter.
There are a couple of options. While not first party, there is this solution for example: https://pub.dev/packages/jaspr
Here’s the difference between jaspr and Flutter Web explained: https://docs.page/schultek/jaspr/jaspr-vs-flutter-web
There’s another package, static_shock, although it’s purpose is to build static websites. The author was part of the Flutter team.
Article: https://blog.flutterbountyhunters.com/you-can-now-generate-s....