---
title: "Discussion on \"Flutter MVVM and Clean Architecture - Part 2: Testable Routing\" | Hashnode"
description: "Discussion on \"Flutter MVVM and Clean Architecture - Part 2: Testable Routing\". In the previous post we went through the basics of setting up the view models, moving all the logic from Widgets to the VMs, making it very simple to test and reason about action/effect.\nThat's nice, but what about routing? \nRouting\nI want to route s..."
url: "https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-2-testable-routing/61a4aefc9ac0d611876b1b61"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Flutter MVVM and Clean Architecture - Part 2: Testable Routing](https://cassiuspacheco.com/flutter-mvvm-and-clean-architecture-part-2-testable-routing?utm_source=hashnode&utm_medium=feed)

In the previous post we went through the basics of setting up the view models, moving all the logic from Widgets to the VMs, making it very simple to test and reason about action/effect. That's nice, but what about routing? Routing I want to route s...

Nov 29, 2021 · 8 min read · cassiuspacheco.com  
Updated Dec 28, 2021  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#routing](https://hashnode.com/tag/routing)
-   [#mvvm](https://hashnode.com/tag/mvvm)

## Written by

[Cassius Pacheco](https://hashnode.com/@cassiuspacheco)

@cassiuspacheco · Sydney, Australia

  
[View profile](https://hashnode.com/@cassiuspacheco)

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

My life changed in 2011 when I fell in love with iPhone and started working as an iOS Developer. I'm passionate about clean and effective code, code review, organisation, agile work, sharing knowledge and experiences, but above all I'm passionate about building awesome products.

## Responses 1

Markdown supported · ⌘↵ to post

[Quốc Bình Lâm Dương](https://hashnode.com/@binhlamwork)

[Jul 29, 2022](https://hashnode.com/posts/flutter-mvvm-and-clean-architecture-part-2-testable-routing/61a4aefc9ac0d611876b1b61/comment/62e3a1acd7b405bea155a67a)

How can i get back data from second screen when i pop it to return first screen?? many thanks
