Flutter Presentation on Upcoming Features and Tools

Jul 24, 2024

Flutter Presentation Notes

Introduction to Flutter

  • Open source portable UI toolkit
  • Enables building for multiple platforms (mobile, web, desktop, embedded) with a single code base

Upcoming Features

  • The focus of the event is to showcase sneak previews of different features under development.
  • Four main categories:
    • Breakthrough Graphics Performance
    • Seamless Integration
    • Support for New Architectures
    • Developer Productivity Enhancements

Key Feature: Impeller

  • Major rewrite of Flutter's graphics engine
  • Smooth performance, especially in complex use cases like SVG clipping
  • New architecture supports innovative use cases, including 3D capabilities.
    • Demo:
      • Displaying a simple 2D image of Dash (PNG)
      • Switching to a 3D model (GLB file)
      • Example of displaying multiple instances of Dash in a 7x7 cube configuration (343 instances)

New Tools: Bindings Generation

  • Tools to create bindings for iOS and Android APIs directly from Dart code:
    • iOS: Uses a tool called ffi gen to auto-generate bindings
    • Android: Uses jni gen for similar purposes

Element Embedding

  • A way to compile Dart and Flutter into a web component (HTML div)
  • Enhances integration with web platform features

WebAssembly Support

  • Flutter web app using WebAssembly instead of JavaScript
    • Demo: Flutter counter app running with main.dart.wasm
  • Utilizes WebAssembly GC (garbage collection) extension for improved performance and interoperability

Dart 3 Announcement

  • Enable high-quality app creation across platforms
  • Over 700,000 apps launched using Flutter
  • Acknowledgement that Flutter is among the top three open source projects by contributors
  • Commitment to community and recognition of app developers

Conclusion

  • Flutter aims to help build a better world through development tools and community support
  • Encouragement for developers to innovate and leverage Flutter capabilities

Closing Remarks

  • Appreciation for the audience and community involvement
  • Continued support and expectation of growth in the Flutter ecosystem

[Music]