Skip to content

Commit

Permalink
Make InitialArguments value be dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
raapperez committed Sep 4, 2024
1 parent b70ea30 commit 33d24ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/nuvigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class _NuvigatorInner<T extends INuRouter> extends Navigator {
_NuvigatorInner({
required this.router,
required String initialDeepLink,
Map<String, Object>? initialArguments,
Map<String, dynamic>? initialArguments,
Key? key,
List<NavigatorObserver> observers = const [],
this.screenType = materialScreenType,
Expand Down Expand Up @@ -547,7 +547,7 @@ class Nuvigator<T extends INuRouter?> extends StatelessWidget {
final List<ObserverBuilder> inheritableObservers;
final List<NavigatorObserver> observers;
final Key? _innerKey;
final Map<String, Object>? initialArguments;
final Map<String, dynamic>? initialArguments;
final ShouldRebuildFn? shouldRebuild;

/// Maybe fetches a [NuvigatorState] from the current BuildContext.
Expand Down

0 comments on commit 33d24ee

Please sign in to comment.