Flutter, FFI and Fun: Windows Development with Dart and Win32
summary
Dart’s FFI calls Windows APIs directly so the presenter maps C prototypes to Dart, builds a working kilo text editor with raw console mode, calls MessageBox and creates a full Notepad and Tetris using GDI, and exposes thousands of kernels and COM functions in a generated win32 package (tree shaking prevents bloat). Bindings come from winmd metadata plus codegen, WinRT is supported via a contributor, and Flutter Windows apps can be built with pure Dart launch/loader code without installing Visual Studio.
AI-written summary · about
chapters (19)
- 0:00Introduction to talk
- 2:35Console programming in Dart
- 5:26Foreign Function Interface basics
- 8:42Windows API calls with FFI
- 11:54Dart console package demo
- 15:05Creating Dart console package
- 16:52Windows APIs beyond console
- 17:32Message box example
- 19:39Win32 package introduction
- 21:47Petzold Hello World in Dart
- 23:55Windows Notepad in Dart
- 25:40Tetris with Windows APIs
- 27:03Component Object Model basics
- 30:36COM in Dart demo
- 34:07Recap and metadata tools
- 39:03Windows Runtime overview
- 40:49WinRT in Dart example
- 42:13Pure Dart Flutter apps
- 45:45Closing and future outlook
related talks
38mDesktop Windowing APIs
44mBuilding Pieces for Developers Our Journey with Flutter and Dart
40mDart: Productive, Fast, Multi-Platform - Pick 3
46mThe Many Faces of Flutter
40mA new hope with Flutter!
28mHow Flutter works under the hood
22mIterating faster with Flutter and WSL 2
41mFlutter under the hood. What makes Flutter tick
