Custom channels and codecs

Channels and platform threading

Using plugins and channels from background isolates
Executing channel handlers on background threads
Jumping to the UI thread in Android
Jumping to the main thread in iOS

This guide describes how to write custom platform-specific code.
Some platform-specific functionality is available
through existing packages;
see using packages.

Note:
  The information in this page is valid for most platforms,
  but platform-specific code for the web generally uses
  JS interoperability or the dart:html library instead.

Flutter uses a flexible system that allows you to call
platform-specific APIs in a language that works directly
with those APIs:

Kotlin or Java on Android

Swift or Objective-C on iOS

C++ on Windows

Objective-C on macOS

C on Linux