Welcome to omni_platform, a package that simplifies the cross-platform development process by providing a virtual platform than can be changed at runtime, virtual platform instruments and physical platform instruments.

omni_platform integrates the packages virtual_platform and physical_platform, without adding any extra functionality. This way you only need to declare one package in your pubspec.yaml.

Getting started

You need to add omni_platform to your dependencies.

dependencies:
  omni_platform: ^latest # replace latest with version number

Next, you have to import package:omni_platform/omni_platform.dart.

Usage

Platforms and platform groups

Platform appleSystems mobileSystems desktopSystems
android
ios
linux
macos
windows
web
fuchsia

Priority order: from left to right.

Libraries

omni_platform
A package that integrates the declarative and pragmatic instruments provided by the packages virtual_platform and physical_platform.