Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flutter keynote - GDG Pwani

Kendi J
August 08, 2023
14

Flutter keynote - GDG Pwani

This was a Flutter keynote, where I spoke on all the features announced by Flutter in 2023.

Kendi J

August 08, 2023
Tweet

Transcript

  1. Flutter is an open source framework by Google for building

    beautiful, natively compiled, multi-platform applications from a single codebase. Oh hey Flutter! Pwani
  2. Fast Flutter code compiles to ARM or Intel machine code

    as well as JavaScript, for fast performance on any device. Pwani
  3. Productive Build and iterate quickly with Hot Reload. Update code

    and see changes almost instantly, without losing state. Pwani
  4. The Material library now matches the latest Material Design spec.

    Changes include new components and component themes, updated component visuals Material 3
  5. build scripts for Flutter now allow automated builds on trusted

    build platforms Flutter release workflows execute only after multiple engineers approve Scripted build process Multi-party approval with audit logging This means trusted sources with expected contents built the framework release artifacts Provenance Flutter supports SLSA level 1 (Supply Chain Levels for Software Artifacts, security features)
  6. This release reduces the file size of icon fonts. It

    pruned unused glyphs from both Material and Cupertino Chromium-based browsers can use an even smaller custom Canvas Kit “flavor”. Improved load times CanvasKit reduced size You can embed a Flutter web app into any HTML element of your web page, with flutter.js and the hostElement engine initialization parameter Element embedding Custom shaders can be used to provide rich graphical effects Shader support Pwani First framework architecturally designed for these structures eg. Rive
  7. Impeler With over 250 commits to Impeller in this release,

    Flutter set Impeller as the default renderer on iOS. Pwani
  8. Shifted loading of local images from the platform thread to

    the Dart thread to avoid delaying vsync events from the platform thread An inefficient strategy for identifier lookups in app bundles increased app startup latency Eliminating Jank Reducing iOS startup latency Flutter uses SkParagraph as the default library for text shaping, layout, and rendering Reducing Size enabled an Android feature late in the rendering pipeline. This Android feature used advanced GPU driver features. These driver features repaint less of the screen when only one “dirty” region changes Stability Pwani Performance
  9. • Wireless debugging • Wide gamut image support • Spellcheck

    support • Adaptive checkbox and radio • Refining Cupertino animations, transitions and colors • PlatformView performance • macOS and iOS can use shared code in plugins iOS Pwani
  10. • Android CameraX support - Image capture - Video recording

    - Display live camera preview Android Pwani
  11. • Improved DevTools,which is the suite of performance and debugging

    tools for Dart and Flutter. - The DevTools UI uses Material 3 - The DevTools console supports evaluations for a running app in debug mode - An embedded Perfetto trace viewer replaces the previous timeline trace viewer DevTools Pwani
  12. - This has been among the best feature in the

    Flutter ecosystem🔥󰚕 - There are over 500,000 Flutter apps already in production - There are over 33,000 packages published on pub.dev The Community Pwani