flutter-home-screen-widget

โดย flutter

วิดเจ็ตหน้าจอโฮมแบบเนทีฟสำหรับแอป Flutter บน iOS และ Android ที่มีการแชร์ข้อมูลข้ามแพลตฟอร์ม สร้างการแชร์ข้อมูลระหว่าง Dart และแพลตฟอร์มเนทีฟผ่าน App Groups (iOS) และ SharedPreferences (Android) ทำให้สามารถอัปเดตวิดเจ็ตจากแอป Flutter ของคุณ รองรับวิดเจ็ตแบบข้อความพื้นฐานและ UI Flutter ที่ซับซ้อนซึ่งแสดงผลเป็นภาพนิ่งสำหรับการแสดงผลแบบเนทีฟ ต้องตั้งค่าเนทีฟใน Xcode (เป้าหมาย Widget Extension พร้อม Swift TimelineProvider) และ Android Studio (AppWidgetProvider พร้อม XML...)

npx skills add https://github.com/flutter/skills --skill flutter-home-screen-widget

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