We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4827c8 commit 9782797Copy full SHA for 9782797
1 file changed
com.unity.uiwidgets/Runtime/widgets/routes.cs
@@ -640,7 +640,7 @@ protected virtual void setState(VoidCallback fn) {
640
}
641
642
643
- public RoutePredicate withName(string name) {
+ public static RoutePredicate withName(string name) {
644
return (Route route) => !route.willHandlePopInternally
645
&& route is ModalRoute
646
&& route.settings.name == name;
0 commit comments