Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit b495acf

Browse files
committed
[url_launcher] Adds lint ignores to the usage of RouteInformation.location
1 parent 34a6813 commit b495acf

File tree

1 file changed

+4
-0
lines changed
  • packages/url_launcher/url_launcher_platform_interface/test

1 file changed

+4
-0
lines changed

packages/url_launcher/url_launcher_platform_interface/test/link_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ class _RouteDelegate extends RouterDelegate<RouteInformation>
8383
if (_history.isEmpty) {
8484
return const Placeholder(key: Key('empty'));
8585
}
86+
// TODO(chunhtai): remove the ignore once the following line can migrate to
87+
// use RouteInformation.uri after the issue is resolved.
88+
// https://github.com/flutter/flutter/issues/100624.
89+
// ignore: unnecessary_string_interpolations, deprecated_member_use
8690
return Placeholder(key: Key('${_history.last.location}'));
8791
}
8892
}

0 commit comments

Comments
 (0)