---
title: "Cassius Pacheco (@cassiuspacheco) | Hashnode"
description: "Brazilian Software Engineer living in Australia 🇧🇷 🇦🇺 | Dart | Flutter | Swift | iOS. Read the latest articles by Cassius Pacheco on Hashnode."
url: "https://hashnode.com/@cassiuspacheco"
---

@cassiuspacheco

# Cassius Pacheco

@cassiuspacheco · Sydney, Australia · Joined March 2020

Brazilian Software Engineer living in Australia 🇧🇷 🇦🇺 | Dart | Flutter | Swift | iOS

[Website](https://www.linkedin.com/in/cassiuspacheco/)

## Comments

[Good news Ali, I've just posted the part 2 of the series that explains routing https://cassiuspacheco.com/flutter-mvvm-and-clean-architecture-part-2-testable-routing-ckwkjnkph0dmngns1cf8e7d5n](https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-1-setup/618f936d83e4212d6e57844c/comment/61a44d162be89f3d0ab9f14f#reply-61a4af649ac0d611876b1b68)

Reply · Article · Nov 29, 2021 · [Flutter MVVM and Clean Architecture - Part 1: Setup](https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-1-setup/618f936d83e4212d6e57844c)

[Hello, thanks for the feedback! About routing, you really want to keep the logic about where and how you're navigating to in the view model, so you can unit test it as well as have complex routing systems depending on user interactions, like you mentioned, after an API call, for example. Now, you don't want to access widgets, context, Navigators, etc in the view model, you only want the pure logic in there, such as the routing logic. If you want a spoiler of the next post showing how I do it, have a look at the part 2 of the series code https://github.com/CassiusPacheco/flutter\_mvvm/commit/fbd7237ed1f08993becf16ff7a80ec6aacee044f The post explaining it will be coming up soon. Hope that helps!](https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-1-setup/618f936d83e4212d6e57844c/comment/61a44d162be89f3d0ab9f14f#reply-61a497aa9ac0d611876b1890)

Reply · Article · Nov 29, 2021 · [Flutter MVVM and Clean Architecture - Part 1: Setup](https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-1-setup/618f936d83e4212d6e57844c)
