我是flutter的新手,我得到了错误: error : The argument type 'Function' can't be assigned to the parameter type 'voidFunction()' 我做了一个餐饮应用。我添加了一个简单的Drawer()。当我打开抽屉时,我得到了错误。filters_screen.dart';
Widget b
Function(Bro?)' can't be assigned to the parameter type 'Bro? Function(User?)'.Function(Bro?)' can't be assigned to the parameter type 'Bro? Function(User?)'.