Platform channels Flutter का वह तंत्र है जो Dart code और native platform code (iOS/Android) के बीच संचार करता है — जिससे Flutter native features या मौजूदा native code तक पहुँच सकता है जो Dart packages के माध्यम से उपलब्ध नहीं है। ये Flutter को underlying platform से जोड़ते हैं।
Why platform channels exist
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.
