Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ linter:
control_flow_in_finally: true
empty_statements: true
hash_and_equals: true
iterable_contains_unrelated_type: true
list_remove_unrelated_type: true
collection_methods_unrelated_type: true
no_duplicate_case_values: true
prefer_void_to_null: true
unrelated_type_equality_checks: true
Expand Down
2 changes: 1 addition & 1 deletion lib/src/system_screen_capturer_impl_windows.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SystemScreenCapturerImplWindows extends SystemScreenCapturer {
bool silent = true,
}) async {
if (mode == CaptureMode.screen) {
assert(imagePath == null);
assert(imagePath != null);
await ScreenCapturerPlatform.instance.captureScreen(
imagePath: imagePath!,
);
Expand Down