Skip to content

route.settings property return null in RouterObserver  #664

@rahmanrezaee

Description

@rahmanrezaee

Describe the bug
I try to observer the route changes and I have to use RouteObserver which gives me to listen when the user push or pop and replacement but I'm not able to get the value of route.settings object property and return null
but strange is that while a print toString it returns value in the correct format

**Beamer version: v1.6.1

To Reproduce
Steps to reproduce the behavior:

  1. Make a RouteObserver
  2. and override a method of them like didPush
  3. and print('${route.settings.name}'); // its return null instead current URL like '</>'
  4. See debugs

Expected behavior
it must return the value of the URL and argument

Screenshots
image
image
image

Desktop:

  • Browser [Chrome]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions