You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Enabling Hot Reload for Routes
When developing, you may add or change routes and expect hot reload to pick up the updates. To enable hot reload:
1. Change `routes` to a getter.
```dart
// Old
List<NavigationData> routes = [];
// New
List<NavigationData> get routes => [];
```
2. Add a `reassemble` method to the top level `App` widget.
```dart
@override
void reassemble() {
NavigationManager.instance.routerDelegate.navigationDataRoutes = routes;
super.reassemble();
}
```