由于flutter团队没有官方库,我尝试使用单例模式手动在flutter中实现依赖注入(inject),经过长时间的搜索,这就是我想出的: class Injector{ Injector.
確定! 回上一頁