---
id: 1a3f5a30-a704-11ec-84fd-6fbf9202e157
title: conditional imports in flutter
notetype: feed
date: 2022-03-18
---
`import "something.dart" if (dart.library.io) "other.dart"`


---

https://medium.com/flutter-community/conditional-imports-across-flutter-and-web-4b88885a886e