Skip to content
Articles
Article

Conditional Importing — How to compile for all platforms in Flutter

by Gonçalo Palma medium.com

1 min read

<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@solid.goncalo/conditional-importing-how-to-compile-for-all-platforms-in-flutter-59e9f67a034a?source=rss-24577a902b47------2"><img src="https://cdn-images-1.medium.com/max/960/1*PKFfmoM0cFJzCGaxPjo7_g.png" width="960"></a></p><p class="medium-feed-snippet">How can we have mobile and web imports on our app without tons of compilations errors? With the magic of conditional importing!</p><p class="medium-feed-link"><a href="https://medium.com/@solid.goncalo/conditional-importing-how-to-compile-for-all-platforms-in-flutter-59e9f67a034a?source=rss-24577a902b47------2">Continue reading on Medium »</a></p></div>

Made by

Gonçalo Palma @goncalopalma 🇵🇹 Portugal

Available for hire

Flutter Developer at Ianum with a passion for writing and organizing community open-source projects at Flutter Portugal.

View Gonçalo on Flutter Pro
Forum

Questions about this, or something to add?

Discuss on the forum
It's All Widgets

Apps by Gonçalo Palma

  • Ianum screenshot

    Ianum

    Control your digital identity

    Tools

Report this · Wrote this? Claim it

Supported by