Loading topic
Intermediate · Mid: 13 chapters · 29 min read. States assumed prerequisites
Start readingasync and await, and have seen Flutter platform channels. You should also be able to read simple Kotlin or Swift. This chapter explains the problem Pigeon solves and the files it creates.async and await, and the purpose of Android and iOS platform code. You should also know that Flutter communicates with native code through platform channels. This chapter focuses on installing Pigeon, defining its inputs, and running code genasync and Future, and that platform channels connect Dart with Kotlin or Swift. This chapter focuses on the data schema that Pigeon uses to generate matching types on each side of that connection.async and await, and understand that Flutter communicates with Android and iOS through platform channels. This chapter also assumes that Pigeon is configured and its generator has produced messages.g.dart.Futures, and the Kotlin or Swift syntax shown here. This chapter starts after you have defined a Pigeon schema and generated its Dart, Kotlin, and Swift files.async and await, and can read Kotlin or Swift. It also assumes that you have generated Pigeon code and understand that Flutter and native code communicate through platform channels.async/await, and that you can read Kotlin or Swift. You should also know that a Flutter app and native code communicate through platform channels.Future, and Flutter platform channels. It also assumes you can read simple Kotlin or Swift code.Future, and dependency injection. It also assumes that Pigeon has generated a Dart client for a native HostApi.async and Future. This chapter focuses on the workflow after you define a Pigeon schema.Future and Stream values. You should also be able to read basic Kotlin or Swift.