DealORound / Deal-O-Round

Flutter port of the Deal-O-Round board card game
MIT License
2 stars 0 forks source link

Animated removal and addition of the card chips #5

Closed MrCsabaToth closed 4 years ago

MrCsabaToth commented 4 years ago

A possible implementation is to use AnimatedList class: https://api.flutter.dev/flutter/widgets/AnimatedList-class.html Each column can be an AnimatedList, we need to tune the insert and remove animations properly https://medium.com/flutter-community/how-to-animate-items-in-list-using-animatedlist-in-flutter-9b1a64e9aa16 https://medium.com/flutter-community/updating-data-in-an-animatedlist-in-flutter-9dbfb136e515

MrCsabaToth commented 4 years ago

I used AnimatedList. It was quite an adventure / refactor, but I'm super stoked with the end result