我遇到一个问题:我的AppBar导航栏有四个选项,分别对应一个Widget,每个Widget的内容通过ListView.builder渲染,并且都绑定了ScrollController()类的controller,然后我在切换这四个导航的时候会报一个错误
A ScrollController was used after being disposed.Once you have called dispose() on a ScrollController, it can no longer be used.
样式如图
大概就是ScrollController类没有被清除,我在真机上没有报这个错,咋解决这个报错?