

Daco Harkes
Software Engineer

Seamless interop between #Dart and native code.
Q&A with the Flutter Core Team
Panel
Have you ever wondered what goes on behind the scenes of your favorite cross-platform framework? Join members of the Flutter Core Team for an open, interactive Q&A session! This is your unique opportunity to ask the engineers building Flutter directly about the framework's roadmap, deep technical architecture, and best practices for scaling apps. Whether you are curious about Impeller's rendering pipeline, Dart macros, or how to tackle complex state management, bring your hardest questions. We will cover a wide range of topics driven entirely by the audience.
Tree-Shaking Native Code and Assets with Link Hooks
Session
Flutter is famous for its aggressive tree-shaking, but why stop at Dart code? Imagine a world where every single byte in your app is strictly necessary, from assets and translations to native binaries. In this session, we will dive into Link Hooks, the @RecordUse annotation, and the experimental data assets to discover how you can strip away unused native code and ship the leanest app possible.
In this session you'll learn
* how to use the @RecordUse() annotation to record uses of functions and classes in the Dart ahead-of-time compiler,
* how to use the recorded uses in a link hook to tree-shake native code with the native linker,
* how to use the data assets experiment to declare data assets in build hooks and tree shake them in link hooks, and
* some pirate language! Yarr!
