Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_architecture

+ボタンを押すと数字がカウントアップし、リセットボタンを押すと数字が0にリセットされる簡単なアプリを例に、 Flutter のアーキテクチャをまとめました。

アプリ

  • +ボタンを押すと数字がカウントアップします
  • リセットボタンを押すと数字が0にリセットされます
  • 数字はアプリが終了しても保持され、次回起動時に復元されます

アーキテクチャ

上から簡単な順に並んでいます。
リンクから各ソースコードを見ることが出来ます。

名称 概要
stateful よくある StateFullWidget
provider+changeNotifier StatelessWidget + Provider パターン
mvvm provider+changeNotifier のデータまわりを改良
mvc+state_notifier mvvm の ChangeNotifier を StateNotifier に置き換えたパターン

Lisence

MIT

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages