A typical way to fire such notification is using AutomaticKeepAliveClientMixinclass Foo extends StatefulWidget { @override FooState createState() { return new FooState(); }}class FooState extends State<Foo> with AutomaticKeepAliveClientMixin { @override Widget build(BuildContext context) { return Container( ); } @override bool get wantKeepAlive => true;} 这篇关于滚动后颤振ListView KeepAlive的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 00:52