Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Route example does not work properly #5

Closed
@vadimtsushko

Description

@vadimtsushko

In last samples (Chapter_05 and Chapter_ToolTip) route functionality is somehow broken.

In checked mode click on recipe do no show recipe details (url of page do change to
http://127.0.0.1:3030/angular.dart.tutorial/web/index.html#/recipe/3/view for example)
Debug console show error

type 'Route' is not a subtype of type 'RouteHandle' of 'value'

on line

ViewRecipeComponent(RouteProvider routeProvider) {
  _route = routeProvider.route;
}.

In unchecked mode details of recipe page shows properly but when I select another recipe debug console shows error:

Class 'Route' has no instance method 'discard'.

on line:

void detach() {
  _route.discard();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions