Skip to content

Rules of Architecture

Jaewon-Yun edited this page Feb 19, 2025 · 2 revisions

It defines architecture rules for consistent code style.

  • When a widget needs a number of data to draw, use an object extending ChangeNotifier and define the name by model.
  • Do use Provider to propagate the model when it separates a widget.
  • The model of a widget should notify listeners (use notifyListeners method) whenever its own values are changed.
Clone this wiki locally