Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have you thought about using Flutter for your playing card design software? #9

Open
fire-bot opened this issue Nov 16, 2019 · 2 comments
Labels
future The issue is not actionable right now but maybe in the future

Comments

@fire-bot
Copy link
Collaborator

Sent by Chris Sells. Created by fire.


Please fill out your feedback below. An issue on GitHub will be created. You can alternative create a new GitHub issue directly:

https://github.com/sffc/card-creatr-studio/issues

----------

I was at Game Kastle the other day and saw your card. I'm the PM for the Flutter developer experience and curious if you considered Flutter for your multi-platform software. I'm happy to answer any questions you might have.

@sffc
Copy link
Owner

sffc commented Nov 16, 2019

@csells

Hi Chris,

Thanks for the note. Currently the app is developed using Electron, with Vue.js as the front-end framework, and custom CSS based on flexbox for the layout. In 2017, this was the best option to build small cross-platform apps.

One of the challenges with the current tech stack has been efficiently loading and rendering large images in memory. One good thing is that currently I'm able to use Chromium's built-in JavaScript Canvas to convert from SVG to a printable bitmap image. I see dart:svg, which looks promising. I'd have to evaluate if that is a good enough solution, because I have found a very mixed bag of support for SVG around the different platforms.

Another good option would be if I were able to compile something like rsvg, a native library, to WebAssembly, and invoke it from my Dart application. I have seen (and participated in) threads like dart-lang/sdk#37355 where it appears that the Dart VM doesn't currently provide interop with Wasm modules. That would definitely be a selling point of Flutter, if I would be able to run arbitrary C/C++ binaries via Wasm.

The bottom line is that it looks like migrating to Flutter would amount to basically a full rewrite, which is probably not going to happen in the near future, but thanks for reaching out, and I'll keep it in mind.

@csells
Copy link

csells commented Nov 16, 2019

No wasm support in Dart yet; hopefully someday.

@sffc sffc added the future The issue is not actionable right now but maybe in the future label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future The issue is not actionable right now but maybe in the future
Projects
None yet
Development

No branches or pull requests

3 participants