Build a multiplayer drawing experience with full-stack Dart
summary
Builds a live multiplayer pixel canvas using Dart, Flutter, and Serverpod 3, implements a stream-based API that sends a full 64x64 image once then broadcasts per-pixel deltas, stores pixels as packed bytes, and validates inputs. Uses a generated Dart client, a 16-color palette, and a pixel editor widget that calls a server setPixel endpoint; demo runs locally and in Chrome and MacOS and successfully syncs edits across clients.
AI-written summary · about
chapters (18)
- 0:00Pixarama intro
- 1:06Installing and setting up Serverpod for the project
- 2:30Pixarama mini project
- 4:09Serverpod project structure
- 6:09Image update models
- 11:59Client code from models
- 12:44Server endpoint for updates
- 25:25Broadcast pixel changes
- 29:26Client code for methods
- 30:09Pixels package in Flutter
- 31:18Pixarama Flutter widget
- 32:43Listen to server updates
- 37:40Full and partial updates
- 41:46Reconnection logic
- 43:17Drawing canvas UI
- 46:36Connect Flutter to Serverpod
- 47:55Run and test multiplayer
- 50:01Realtime drawing demo
related talks
26mServerpod: Building interactive slides for tech talks
32mCode Meets Art: Flutter for Creative Coding
49mTrusting your clients: live-coding a cross-platform multiplayer bingo app
44mBuilding Pieces for Developers Our Journey with Flutter and Dart
47mIntroduction to Cross Platform Development with Flutter
40mMastering Flutter Web
38mFlutter Web in action
47mLive-Coding Custom Widgets with Simon
