flutter-implementing-navigation-and-routing

โดย flutter

รูปแบบการนำทางแบบ Imperative และ Declarative สำหรับการเปลี่ยนหน้าจอและการเชื่อมโยงลึกใน Flutter ครอบคลุมทั้งแนวทาง Navigator (แบบ Imperative, ใช้สแต็ก) และ Router (แบบ Declarative, ซิงค์กับ URL) พร้อมคำแนะนำว่าเมื่อใดควรใช้แต่ละแบบ รองรับการเชื่อมโยงลึกบน iOS, Android และ Web รวมถึงการส่งข้อมูลผ่านคอนสตรัคเตอร์ อาร์กิวเมนต์ของเส้นทาง และค่าที่ส่งกลับ นำทางการซ้อนกันสำหรับขั้นตอนหลายขั้นตอน (เช่น วิซาร์ดการตั้งค่า) พร้อมเนวิเกเตอร์ย่อยอิสระและการสกัดกั้นปุ่มย้อนกลับ ให้...

npx skills add https://github.com/flutter/skills --skill flutter-implementing-navigation-and-routing

Skills เพิ่มเติมจาก flutter

adding-release-notes
flutter
เพิ่มคำอธิบายการเปลี่ยนแปลงที่ผู้ใช้เห็นลงในบันทึกประจำรุ่นของ DevTools ใช้เมื่อบันทึกการปรับปรุง การแก้ไข หรือฟีเจอร์ใหม่ในไฟล์ NEXT_RELEASE_NOTES.md
official
dart-modern-features
flutter
เพื่อหาผู้สมัครสำหรับการปรับปรุงให้ทันสมัย:
official
api-review
flutter
ตรวจสอบโค้ดที่ระบุเทียบกับแนวทาง API Design มาตรฐาน ใช้สกิลนี้เมื่อผู้ใช้ขอให้รีวิว API หรือตรวจสอบโค้ดตามแนวทาง API design…
official
code-documentation
flutter
Guide for writing effective code documentation, including docstrings, JSDoc, dartdoc, and implementation comments. Use this skill when writing new code, adding…
official
dart-add-unit-test
flutter
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains…
official
dart-build-cli-app
flutter
โครงสร้างจุดเริ่มต้น, รหัสออกจากโปรแกรม, สคริปต์ข้ามแพลตฟอร์ม ใช้เมื่อสร้างยูทิลิตี้คำสั่ง, สคริปต์, หรือแอปพลิเคชัน
official
dart-collect-coverage
flutter
เก็บข้อมูลความครอบคลุมโดยใช้แพ็กเกจ coverage และสร้างรายงาน LCOV
official
dart-fix-runtime-errors
flutter
ใช้ get_runtime_errors และ lsp เพื่อดึง stack trace ที่ใช้งานอยู่ ค้นหาบรรทัดที่เกิดข้อผิดพลาด ใช้การแก้ไข และตรวจสอบผลลัพธ์ผ่าน hot_reload
official