dwyl / flutter-todo-list-tutorial

✅ A detailed example/tutorial building a cross-platform Todo List App using Flutter 🦋
GNU General Public License v2.0
96 stars 9 forks source link

Functional programming with Flutter #20

Open SimonLab opened 4 years ago

SimonLab commented 4 years ago

While reviewing the OOP concepts in Dart ( I'm looking at async/await with shared preference and how to use it with classes https://github.com/dwyl/flutter-todo-list-tutorial/issues/18 ) I was wondering if we could simplify a Flutter code by Applying functional programming concepts with Flutter: https://buildflutter.com/functional-programming-with-flutter/

nelsonic commented 4 years ago

@SimonLab if we can make the code as functional as possible we should. But I suspect there will still be a fair amount of OOP in form of inheritance from base widgets. 💭