Flutter/Dart #1464
martin-braun
started this conversation in
Ideas
Flutter/Dart
#1464
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone ever thought about it? I know it's a wild idea, especially, because it is not the web and it has no markup. However there are things like
xml_layout
that could enable Dart as a target without being far off: https://pub.dev/packages/xml_layoutThe reason why I ask: I like Flutter for mobile development. It's pretty rapid and gives full artistic control with pretty solid speed, since it faking its components with a canvas. So you can follow design languages, but you don't have to.
The area where Flutter is less of a blessing is the web. Surely, if the app is an "app", you can go for the web target and call it a day, but it will just be a canvas. If your app however is more content driven, you really want to pick a different technology to deliver a DOM to the browsers and thus enable native functionality such as highlighting text and copy/paste.
Now, in order to reduce maintaining code, key UI components could be written and converted via mitosis to DartXML and Qwik for instance, getting the best out of both worlds. Business logic could be written in another language that can converted to all platforms as well, such as Kotlin Multiplatform.
Let me know what you think about it. :)
Beta Was this translation helpful? Give feedback.
All reactions