我是飞镖新手,因此扑扑。我正在这样使用NotificationListener
String x = a; // or could be x=b,x=c,etc,comes as function parameter
return NotificationListener(
onNotification: onNotificationHandler,child: new ListView.builder(
scrollDirection: Axis.horizontal,shrinkWrap: true,physics: const BouncingScrollPhysics(),// other codes comes here
问题
我希望根据变量onNotification
的值来动态调整x
的值
有人可以帮我吗?