diff --git a/lib/src/nuvigator.dart b/lib/src/nuvigator.dart index 5e81d2d..dae0e2f 100644 --- a/lib/src/nuvigator.dart +++ b/lib/src/nuvigator.dart @@ -77,7 +77,7 @@ class _NuvigatorInner extends Navigator { _NuvigatorInner({ required this.router, required String initialDeepLink, - Map? initialArguments, + Map? initialArguments, Key? key, List observers = const [], this.screenType = materialScreenType, @@ -547,7 +547,7 @@ class Nuvigator extends StatelessWidget { final List inheritableObservers; final List observers; final Key? _innerKey; - final Map? initialArguments; + final Map? initialArguments; final ShouldRebuildFn? shouldRebuild; /// Maybe fetches a [NuvigatorState] from the current BuildContext. @@ -569,9 +569,9 @@ class Nuvigator extends StatelessWidget { /// Fetches a [NuvigatorState] from the current BuildContext, or throws an /// error if doesn't find it static NuvigatorState of( - BuildContext context, { - bool rootNuvigator = false, - }) { + BuildContext context, { + bool rootNuvigator = false, + }) { return Nuvigator.maybeOf(context, rootNuvigator: rootNuvigator)!; }