ข้ามไปยังเนื้อหา

Flutter Deep Dive

คอร์สแบบ standalone ระดับ intermediate→advanced ว่าด้วย Flutter และ Dart ตั้งแต่ null safety และ async Dart ไปจนถึง widget/element/render tree, layout algorithm แบบ constraints, InheritedWidget และ state management สมัยใหม่, navigation, performance และ release build — ทุกหัวข้อสอนผ่าน code ที่ annotate และ widget-tree diagram

Dart Foundations

ภาษา Dart ที่ Flutter dev ต้องรู้ — null safety, class & mixin และ async ด้วย Future/Stream เริ่ม →

Everything Is a Widget

แนวคิด widget, stateless vs stateful, build & BuildContext และ three tree ประกอบ →

Layout & Rendering

constraints ลงล่าง size ขึ้นบน — layout algorithm, core widget, sliver และ render pipeline จัด layout →

State Management

setState & lifecycle, InheritedWidget, Provider/Riverpod, BLoC และ state ควรอยู่ที่ไหน จัดการ →

Navigation & App Structure

Navigator, declarative routing & deep link, app scaffolding และ platform channel navigate →

Async, Performance & Rendering

FutureBuilder/StreamBuilder, ลด rebuild, animation และ isolate สำหรับงานหนัก optimize →

Tooling, Testing & Production

toolchain, unit/widget/golden test, build mode & flavor และเรื่อง production ship →

เข้าใจ model ก่อน แล้วค่อยดู code

ทุกหัวข้อเริ่มจาก model — three tree, constraints algorithm, rebuild propagate อย่างไร — พอเข้าใจแล้ว behavior ของ Flutter จะเลิกดูเหมือนเวทมนตร์และกลายเป็นเรื่องที่สมเหตุสมผล

Dart ก่อน แล้วค่อย Flutter

Flutter คือ Dart คอร์สเริ่มจากความลึกของ Dart ที่ Flutter dev ต้องใช้จริง — null safety, async, mixin — ก่อนจะแตะ widget ตัวแรก

เน้นการออกแบบ ไม่ใช่แค่ syntax

ไม่ใช่แค่ “นี่คือ ListView” แต่เป็น “constraints และ sliver ทำให้ scroll ทำงานอย่างไร และทำไม list ถึง jank” คุณจะ reason เรื่อง layout และ performance ได้อย่างมั่นใจ

ไดอะแกรมที่อธิบายได้

widget/element/render tree, constraint flow, render pipeline และ state propagation เป็นไดอะแกรม Mermaid ที่รองรับธีม สองภาษา (English / ไทย) พร้อมบันทึกความคืบหน้า quiz