Can flutter be used to build web and mobile at same time?

101 views
Skip to first unread message

RickK

unread,
Mar 11, 2020, 9:43:39 AM3/11/20
to Flutter Development (flutter-dev)
Trying to use flutter design on my mobile app to also display and use on website.

Maksim Ryabovol

unread,
Mar 11, 2020, 10:05:41 AM3/11/20
to Flutter Development (flutter-dev)
It depends on that you mobile app do and what additional libraries(packages) it use.
For example: In mobile app you can use dart.io package but on web platform it impossible (at least now). Also, in my experience, you can't use some custom packages from pub.dev.
But as far as I understand, you can use standard flutter sdk.

Ser Exatas

unread,
Mar 11, 2020, 10:48:44 AM3/11/20
to Flutter Development (flutter-dev)
Dear Maksim Ryabovol:

In WEB app you can use dart.io package.

Maksim Ryabovol

unread,
Mar 11, 2020, 8:48:40 PM3/11/20
to Flutter Development (flutter-dev)
"Browser-based applications can't use this library. Only servers, command-line scripts, and Flutter mobile apps can import and use dart:io."

https://api.flutter.dev/flutter/dart-io/dart-io-library.html

Koustubha Bharadvaj

unread,
Mar 15, 2020, 6:44:08 AM3/15/20
to Flutter Development (flutter-dev)
MOST OF THINGS WORK

amr ahmed

unread,
Mar 16, 2020, 5:19:25 AM3/16/20
to Koustubha Bharadvaj, Flutter Development (flutter-dev)
yes it's support ed

On Sun, Mar 15, 2020, 12:44 PM Koustubha Bharadvaj <bkous...@gmail.com> wrote:
MOST OF THINGS WORK

--
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/509d89a3-9f34-4eff-98aa-63349b46f57e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages