Skip to content
Videos
Video

Going Native: Developing Flutter Plugins

by Flutter NYC youtube.com

50 min 1.3k views

Sooner or later you will need something that cannot be done entirely in Flutter and need to interact with iOS and Android natively using a plugin. Luckily there are already plenty available on pub.dev, but you may need to modify an existing one or even code one from scratch to satisfy your requirement. A plugin is similar to a Dart package but adds some Kotlin and Swift code, plus a sample Flutter app to demonstrate its features. We’ll cover creating the plugin, opening the project in Android Studio and Xcode, defining the Dart-Native interface, and implementing each end. Code links: simple example: https://github.com/richardheap/audio_push final example: https://github.com/richardheap/audio_worklet Richard Heap co-founded Software Hothouse, which specialises in VoIP recording applications, in 2003. There, he developed the ever-successful Avaya Contact Recorder, which has used Dart in its web UI since 2015. He recently co-founded JustSpeak – a start-up making it easier to use your mobile device as your work phone. He is frequently found answering Flutter questions on Stack Overflow.

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

Supported by