Update widgets

This commit is contained in:
Ashita Prasad
2024-07-16 03:34:30 +05:30
parent 8f72cd2771
commit 604efe256d
6 changed files with 130 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ void main() {
// Since we can't actually perform drag-and-drop in a unit test,
// we'll call the onDragDone callback directly
dragAndDropArea.onFileDropped(testFile);
dragAndDropArea.onFileDropped?.call(testFile);
await tester.pump();
@@ -42,4 +42,3 @@ void main() {
expect(droppedFile?.path, 'test.curl');
});
}