flutter-interoperating-with-native-apis
Integrate native C/C++, Kotlin, Swift, and JS APIs into Flutter apps using FFI, Platform Channels, and Pigeon.
Install
npx skills add https://github.com/flutter/skills --skill flutter-interoperating-with-native-apisStats
| Total installs | 2,163 |
| Weekly installs | 2.2K |
| GitHub stars | 833 |
| First seen | Mar 13, 2026 |
| Source | @flutter/skills |
Summary
- Supports three integration approaches: FFI for direct C/C++ binding, Platform Channels (with Pigeon for type safety) for calling Kotlin/Swift/Objective-C, and Platform Views for embedding native UI components
- FFI uses dart:ffi with automatic build compilation via build.dart hooks; requires extern "C" symbols and package:ffigen for Dart binding generation
- Platform Channels provide asynchronous messaging between Dart and native code; Pigeon generates type-safe boilerplate and handles threading requirements automatically
- Platform Views embed native Android View or iOS UIView components; Android supports Hybrid Composition (fidelity) or Texture Layer (performance) modes
- Web support includes WebAssembly compilation with multi-threading headers and JS interop via package:web and dart:js_interop (avoiding deprecated dart:html and dart:js)
Tags
Related skills
| Skill | Installs | vs flutter-interoperating-with-native-apis |
|---|---|---|
| flutter-theming-apps | 2,564 | +401 |
| asc-cli-usage | 1,435 | -728 |
| flutter-localizing-apps | 2,226 | +63 |
| tailwind-css-patterns | 2,297 | +134 |
| rivetkit-client-swiftui | 2,034 | -129 |
FAQ
- How many installs does flutter-interoperating-with-native-apis have?
- flutter-interoperating-with-native-apis has 2,163 total installs and 2.2K installs this week.
- Where is flutter-interoperating-with-native-apis hosted?
- flutter-interoperating-with-native-apis is published by @flutter/skills at https://github.com/flutter/skills.
- How many GitHub stars does flutter-interoperating-with-native-apis have?
- flutter-interoperating-with-native-apis has 833 GitHub stars.
- When was flutter-interoperating-with-native-apis first indexed?
- OrangeBot.AI first indexed flutter-interoperating-with-native-apis on Mar 13, 2026.
- How do I install flutter-interoperating-with-native-apis?
- Run: npx skills add https://github.com/flutter/skills --skill flutter-interoperating-with-native-apis