summaryrefslogtreecommitdiff
path: root/lib/ui.dart
AgeCommit message (Collapse)Author
2026-01-17Display MQTT connection statusxengineering
The user otherwise cannot trust the state of the contacts because the app could just be disconnected from the broker.
2026-01-16Move Scaffold up to UI classxengineering
That balances the scopes of UI and ContactList better and allows to add more Widgets on the UI level.
2026-01-11Switch to Map address to state for contactsxengineering
This map should be empty in the future and updated based on the incoming MQTT messages. A list was not the correct data structure for that since it requires to iterate over the whole list to find the entry with a certain address. But this is required to update the state of an already known contact.
2026-01-10Move state to data.dartxengineering
The UI should not store the application logic state.
2026-01-05Split code into three Dart filesxengineering
This follows recommendations [1] from the flutter documentation. [1]: https://docs.flutter.dev/app-architecture/concepts