我正在尝试测试一个具有Image.network子级的小部件。 提供了以下日志。Null' is not a subtype of type 'List<int>' in type cast
#1 _MockHttpResponse.drain (package:flutter_test/src/_binding_io.dart:364:22)
#2
我在我的ChangeNotifier中定义了如下函数:onClick: signupViewModel.pickDNIFrontPhoto(ImageSource.gallery,context: context),在我的自定义小部件中,我声明并使用了如下函数:
final Function?C:/goochil_driver_app