Canalele platformă sunt mecanismul Flutter pentru comunicarea între codul Dart și codul nativ al platformei (iOS/Android) — permițând Flutter să acceseze funcționalități native sau cod nativ existent indisponibil prin pachete Dart. Ele fac legătura dintre Flutter și platforma subiacentă.
De ce există canalele platformă
Flutter (Dart) can't directly access every native platform feature. Platform channels
let Dart call NATIVE code (Kotlin/Java on Android, Swift/Objective-C on iOS):
→ access native APIs/SDKs not covered by existing plugins
→ use existing native libraries or platform-specific functionality
→ integrate with native code in a hybrid app
→ The bridge between Flutter and the native platform.
