Skip to content

Commit 25f2e85

Browse files
zandersoadsonpleal
authored andcommitted
Ignore deprecated_member_use analysis lint (flutter#3400)
1 parent 8c4bd17 commit 25f2e85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/path_provider/path_provider_windows/lib/src/path_provider_windows_real.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ class PathProviderWindows extends PathProviderPlatform {
123123
GUID knownFolderID = GUID.fromString(folderID);
124124

125125
final hr = SHGetKnownFolderPath(
126-
knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
126+
knownFolderID.addressOf, // ignore: deprecated_member_use
127+
KF_FLAG_DEFAULT,
128+
NULL,
129+
pathPtrPtr,
130+
);
127131

128132
if (FAILED(hr)) {
129133
if (hr == E_INVALIDARG || hr == E_FAIL) {

0 commit comments

Comments
 (0)