我在将 future 方法中的符号分配给 onpressed 时遇到问题:参数类型“Future”不能分配给参数类型“void Function()”。
flutter onpress
flutter ×1
onpress ×1