style method

void style({
  1. bool push = false,
})

Changes router location to the Routes.style page.

If push is true, then location is pushed to the router location stack.

Implementation

void style({bool push = false}) => (push ? this.push : go)(Routes.style);