在ontap中添加if语句后,颤动按钮停止工作时出现空错误。custom_snackbar.dart';
final bool isIncrement; final int stock; {@required this.isIncrement,
@required this.onTaprequired th
我想测试一下,当我点击一个按钮时,用户会被路由到下一个页面。这在UI中有效。我引入了这个测试,但得到了以下错误:The following TestFailure object was thrown running a test: Expected: exactly one matching node in the widget tree Actual: _WidgetTypeFinder:<zero widgets with type "MyNextView" (ignoring offstage widgets)> Which: means none were