From 130dbac879c2baa19eba7a7607b0d81a571cb764 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 31 May 2026 13:46:19 -0400 Subject: [PATCH] Link to Effective Dart: Style guide in DEVELOPMENT.md Co-authored-by: istalri --- DEVELOPMENT.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2e25743..bfd78a8 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -14,6 +14,8 @@ git submodule update --remote ## Code Style +See [Effective Dart: Style](https://dart.dev/effective-dart/style) for general rules. There are some extra rules detailed below: + ### Controllers and Helpers ([Riverpod](https://pub.dev/packages/riverpod)) Controllers live in `lib/controllers/` and provide a source that exposes data and logic via Riverpod providers, allowing other parts of the code to watch state changes with ref.watch (`ref.watch(MyController.provider)`), access the current value with ref.read (`ref.read(MyController.provider)`), and run helper methods on those classes using the notifier: