---
title: "Discussion on \"Keeping widgets in sync with your data\" | Hashnode"
description: "Discussion on \"Keeping widgets in sync with your data\". why counting references can safe your day"
url: "https://hashnode.com/posts/keeping-widgets-in-sync-with-your-data/671e3d38c0fa33cf6b5c4422"
---

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

Discussion

# [Keeping widgets in sync with your data](https://blog.burkharts.net/keeping-widgets-in-sync-with-your-data?utm_source=hashnode&utm_medium=feed)

why counting references can safe your day

Oct 27, 2024 · 9 min read · blog.burkharts.net  
Updated Mar 11, 2025  
Read the article

-   [#fluttercommand](https://hashnode.com/tag/fluttercommand)
-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart-language](https://hashnode.com/tag/dart-language)
-   [#architecture](https://hashnode.com/tag/architecture)
-   [#patterns](https://hashnode.com/tag/patterns)
-   [#getit](https://hashnode.com/tag/getit)
-   [#watchit](https://hashnode.com/tag/watchit)

## Written by

[Thomas Burkhart](https://hashnode.com/@escamoteur)

@escamoteur · Medellín, Colombia

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

Flutter Developer, author of get\_it, watch\_it and flutter\_command

## Responses 1

Markdown supported · ⌘↵ to post

[Carlos Driller](https://hashnode.com/@cdriller)

[Feb 9, 2025](https://hashnode.com/posts/keeping-widgets-in-sync-with-your-data/671e3d38c0fa33cf6b5c4422/comment/67a8c7e6fffe1ea79c792263)

I found your approach to using mutable objects very interesting and helpful, especially in conjunction with Part 1 of this article.

Your perspective has greatly improved my understanding of immutability. I've often felt that immutability is a good idea and helps manage complexity, but at times, I've also thought, it would be so much easier if I could just mutate this object.

Thank you very much for sharing your insights and the distinction when the programming advice of immutability makes sense and in which situations it is not helpful!

I have a question: Typically, domain models in Flutter Projects can be modified by the user. E.g. by liking them or changing certain properties. Would you, as a rule, recommend making domain models in a Flutter project mutable using the Proxy Objects approach you demonstrated?

[Thomas Burkhart](https://hashnode.com/@escamoteur)

[Feb 14, 2025](https://hashnode.com/posts/keeping-widgets-in-sync-with-your-data/671e3d38c0fa33cf6b5c4422/comment/67a8c7e6fffe1ea79c792263#reply-67af3b7576d18dd402837c73)

Absolutely, I found the proxy approach really powerful to build the bridge between Dtos and UI with the ability to implement optimistic updates
