Clean-up yaml and main.dart <pre>

Clean-up in yaml and dart excerpts
- Removing trailing blank line from `main.dart` `<pre>`
- Removing “yaml” from yaml sample (probably a copy-paste error).