Codex RuoYi Flutter Plus for MVVM Page Lifecycle and Pagination
Trace Flutter pages through view models, repositories, and API types. Check Provider lifecycle, idempotent initialization, and list behavior.
中文Install in Codex
Codex with a ruoyi-plus-flutter checkout, its Flutter toolchain and scaffold guide, and local fixtures.
- Copy the entire pinned `.codex/skills/ruoyi-flutter-plus/` directory to `.agents/skills/ruoyi-flutter-plus/` in the target checkout.
- Open Codex in that checkout and invoke `$ruoyi-flutter-plus` with the example task and desired output.
Example task
Invoke `$ruoyi-flutter-plus` for a read-only favorites list in a practice branch. Check pagination and whether a theme-triggered rebuild repeats the request.What to check
The test distinguishes first load, pagination, and rebuild. Resources are released at their expected lifecycle boundary.
Original SKILL.md on GitHub · Updated
Frequently asked question
Which Provider constructor should create a view model?
Use `ChangeNotifierProvider(create: ...)` for a new instance. The upstream guide reserves `.value` for an existing instance.