nubank / nuvigator

A powerful routing abstraction over Flutter Navigator, with nested Navigator and Deeplinks
Apache License 2.0
275 stars 33 forks source link

[example app] problem navigating to the TextComposerScreen #103

Closed realshovanshah closed 2 years ago

realshovanshah commented 2 years ago

Navigating using the "Compose a message" in the home screen throws the following error:

[VERBOSE-2:ui_dart_state.cc(198)] Unhandled Exception: Null check operator used on a null value
#0      DeepLinkParser.getPathParams
package:nuvigator/src/deeplink.dart:60
#1      DeepLinkParser.toNuRouteSettings
package:nuvigator/src/deeplink.dart:83
#2      NuRoute._screenRoute
package:nuvigator/src/nu_router.dart:63
#3      NuRoute._tryGetScreenRoute
package:nuvigator/src/nu_router.dart:79
#4      NuRouter._getScreenRoute
package:nuvigator/src/nu_router.dart:275
#5      NuRouter.getRoute
package:nuvigator/src/nu_router.dart:301
#6      NuvigatorState.open
package:nuvigator/src/nuvigator.dart:442
#7      HomeScreen.build.<anonymous closure>
package:example/…/screens/home_screen.dart:47
#8      HomeScreen.build.<anonymous closure>
package:example/…/screens/home_screen.dart:44
#9      _InkResponseState._handleTap
package:flutter/…/material/ink_well.dart:1005
#10     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognize<…>

I think it's happening after the migration to null safety.