nubank / nuvigator

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

Add support for typed screen arguments on deep links #40

Closed tuannyharumi closed 4 years ago

tuannyharumi commented 4 years ago

Previously, if a screen had arguments with types other than strings, a runtime error appeared when opening the route through a deep link. This PR adds support for a few basic types such as int, double, bool and DateTime.

Eventually, this could evolve to accept a custom type mapping