../../../../src/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_windows-2.1.1/lib/src/device_info_plus_windows.dart:24:35: Error: Required named parameter 'userName' must be provided.
final data = WindowsDeviceInfo(
^
../../../../src/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_platform_interface-2.4.0/lib/model/windows_device_info.dart:12:3: Context: Found this candidate, but the arguments don't match.
WindowsDeviceInfo({
^^^^^^^^^^^^^^^^^
123.png
参考:https://github.com/fluttercommunity/plus_plugins/issues/1000
网友评论