Closed rk0cc closed 2 years ago
Same here, but on Linux.
You are hitting the issue fixed by https://github.com/flutter/flutter/pull/90288, causing your flutter test
to run your application's main.dart
instead of the test file. You need to either use Flutter master
, or delete generated_main.dart
from your .dart_tool
directory before running flutter test
.
This has nothing to do with this plugin, window_size
just happens to be a plugin you are calling early in your application main.
Is this a bug in one of the plugins in this project?
Which plugin is this bug report about?
window_size
Describe the bug
After run the Flutter GUI application, this error was shown when running
flutter test
:It keep telling
setWindowTitle
not found during test but all files of test source code are not related with Flutter.Flutter doctor