diff options
| author | xengineering <me@xengineering.eu> | 2026-01-05 14:08:11 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-01-05 14:08:11 +0100 |
| commit | 14d7ef0101400f531092ee4abfc42e9a0dfd218e (patch) | |
| tree | c0e86ab105c6c54cee7de946bebf3082181b7ac0 /lib/data.dart | |
| parent | e6b7714df1dec9db53066c6303452ce0c45a5099 (diff) | |
| download | sia-app-14d7ef0101400f531092ee4abfc42e9a0dfd218e.tar sia-app-14d7ef0101400f531092ee4abfc42e9a0dfd218e.tar.zst sia-app-14d7ef0101400f531092ee4abfc42e9a0dfd218e.zip | |
Split code into three Dart files
This follows recommendations [1] from the flutter documentation.
[1]: https://docs.flutter.dev/app-architecture/concepts
Diffstat (limited to 'lib/data.dart')
| -rw-r--r-- | lib/data.dart | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/data.dart b/lib/data.dart new file mode 100644 index 0000000..f2e3531 --- /dev/null +++ b/lib/data.dart @@ -0,0 +1,6 @@ +class Contact { + final String address; + bool isOpen; + + Contact({required this.address, required this.isOpen}); +} |
