Skip to content

Commit

Permalink
fix a bug when returning custom roue builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Milad-Akarie committed Jul 30, 2024
1 parent b17e104 commit a90a0fe
Show file tree
Hide file tree
Showing 2 changed files with 411 additions and 2 deletions.
2 changes: 0 additions & 2 deletions auto_route/example/lib/web_demo/router/web_router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class WebAppRouter extends RootStackRouter {
];
}

typedef CallBackX<T,E,R> = void Function(T x, E y, R z);

@RoutePage()
class MainWebPage extends StatefulWidget {
Expand All @@ -76,7 +75,6 @@ class MainWebPage extends StatefulWidget {
Key? key,
this.navigate,
this.showUserPosts,
CallBackX<int, String, double>? callBackX,
}) : super(key: key);

@override
Expand Down
Loading

0 comments on commit a90a0fe

Please sign in to comment.