Distributing flutter widgets as binary ?

91 views
Skip to first unread message

Nicholas Yue

unread,
Apr 18, 2021, 4:39:50 PM4/18/21
to Flutter Development (flutter-dev)
Is there a compilation and packaging workflow where one can distribute flutter widget (say for commercial reasons) as a binary package where the *.dart file are already build/compiled for a given platform  and so we no longer provide the *.dart file(s) ?

Cheers

Suzuki Tomohiro

unread,
Apr 18, 2021, 4:59:09 PM4/18/21
to Nicholas Yue, Flutter Development (flutter-dev)
What platform do you have in mind? iOS or Android?

On Sun, Apr 18, 2021 at 16:39 Nicholas Yue <yue.ni...@gmail.com> wrote:
Is there a compilation and packaging workflow where one can distribute flutter widget (say for commercial reasons) as a binary package where the *.dart file are already build/compiled for a given platform  and so we no longer provide the *.dart file(s) ?

Cheers

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/6fa8115c-6fc8-4969-b985-4d0831a55274n%40googlegroups.com.

Nicholas Yue

unread,
Apr 18, 2021, 5:11:54 PM4/18/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
My initial platforms are web and desktop (Windows and Linux) [Yes, I know desktop is still in beta]

Cheers
--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

Jimmy Aumard

unread,
Apr 18, 2021, 5:15:37 PM4/18/21
to Nicholas Yue, Suzuki Tomohiro, Flutter Development (flutter-dev)
Answer is no you can't, if you don't provide dart files user will simply not have the definition of your widgets.

Suzuki Tomohiro

unread,
Apr 18, 2021, 5:26:14 PM4/18/21
to Flutter Development (flutter-dev)
Hi Nicholas,

Next question: How will your customers use your widget?
Through Dart programming language?

Nicholas Yue

unread,
Apr 18, 2021, 5:29:06 PM4/18/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
Yes, through Dart programming language.

Suzuki Tomohiro

unread,
Apr 18, 2021, 5:56:59 PM4/18/21
to Nicholas Yue, Flutter Development (flutter-dev)
I see. Then I have the same opinion as Jimmy’s. You need to provide your widgets in Dart language when you want your customers to use the widgets in Dart.
Reply all
Reply to author
Forward
0 new messages