我正在开发Flutter应用程序,我想在其中显示5秒的加载选项,5秒后它将显示"No result Found“。textAlign: TextAlign.center,),}
/// Use of Loading() in flutterdisplays on-screen else, continuously loading(), I want after 5 seconds it displays &quo
event.delta // use this to do some magic... child: ... }但是,这个小部件是在PageView这是我不想摆脱的行为--除了用户在MyWidget上滑动的时候。因为MyWidget要求用户触摸和拖动,所以我不想让他们意外地移动到另一个页面。从MyWidget到它的祖先PageView。如何停止在颤振中传播事件?
理论上,我可以让MyWidget设置应用程序状态,并在浏览MyWidget时使用它禁用<