doc(routing): fix typos and errors in examples

- also fixed indentation to match Dart style guide