brianegan / flutter_architecture_samples

TodoMVC for Flutter
http://fluttersamples.com/
BSD 3-Clause "New" or "Revised" License
8.74k stars 1.71k forks source link

Support Flutter Web on all samples #169

Closed brianegan closed 4 years ago

brianegan commented 4 years ago

This should hopefully be pretty straight-forward, since the repository layer is the only layer that needs to be swapped out. Many apps already accept a repository as part of the root widget or runMyApp type of function.

This would require a web-backed storage repository, using something like window.localstorage.

brianegan commented 4 years ago

Added to most examples!