simplezhli / flutter_deer

🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
https://simplezhli.github.io/flutter_deer/
Apache License 2.0
8k stars 1.67k forks source link

为什么不用riverpod #238

Closed JasonYinH closed 1 year ago

JasonYinH commented 1 year ago

为什么不用riverpod

simplezhli commented 1 year ago

历史原因是写这个项目的时候还没有riverpod。虽然我个人也倾向riverpod,日常开发也是首选。对于这个项目的使用场景来说provider足够了,还没到必须要替换的程度,

JasonYinH commented 1 year ago

大佬,直接用您的作为项目开发框架,把provider迁移到riverpod好迁移吗,我是flutter小白

simplezhli commented 1 year ago

如果你不要需要语言,暗黑的切换那还是比较简单的可以删除provider。因为主要就是这里在用。如果需要,要稍微会一点provider,这样方便替换。

JasonYinH commented 1 year ago

谢谢佬,不需要语言