在flutter_test.dart中运行flutter_test.dart时
errors_patch.dart会自动打开,无法加载source 'dart:core-patch/errors_patch.dart': <source not available>.·关于Could not load source 'dart:core-patch/errors_patch
所以我想要加载一个组合框的数据源,它使用一个函数作为字符串接收它需要加载的数据源的名称,然后让它加载,但是我不能让它工作,因为我认为程序只是试图加载变量名,而不是它所代表的数据源。我现在就是这样做的
bool TeamPlayers(string teamName, ComboBox team)//Makes the players of the selected team available但我想做更像这