I have a question: when they say that flutter is cross platform what does that mean?

20 views
Skip to first unread message

kings...@gmail.com

unread,
Apr 11, 2018, 10:37:16 AM4/11/18
to Flutter Dev
If glitter is is dependent,(use Mac for iOS development and windows/Linux for android development) how does flutter then develop apps for both platforms. I know that it uses dart to build logic’s and UI’s but can I use the same code for windows (android) on a Mac (iOS).

Greg Spencer

unread,
Apr 11, 2018, 12:50:52 PM4/11/18
to kings...@gmail.com, Flutter Dev
If you're asking "Can I use the same Dart code I wrote on Windows when I develop on macOS?" the answer is yes: Flutter and Dart run on both, and consume the same source code regardless of platform.

If you're asking "Can I develop for both iOS and Android using only Windows or Linux?" then the answer is no: Flutter relies on Apple's developer tools under the hood to build, archive, and upload apps to the App Store. Apple only makes Xcode available for macOS, so a Mac is a requirement for iOS development with Flutter. Android development works on all three platforms.

You can develop for both Android and iOS on a macOS development machine, since both build environments run on macOS. I believe there are several online macOS virtual machine providers that specifically target developers, but I haven't got any experience using them myself. It's possible someone else on the list has though!

-Greg.

On Wed, Apr 11, 2018 at 7:37 AM <kings...@gmail.com> wrote:
If glitter is is dependent,(use Mac for iOS development and windows/Linux for android development) how does flutter then develop apps for both platforms. I know that it uses dart to build logic’s and UI’s but can I use the same code for windows (android) on a Mac (iOS).

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages