Flutter Mimic of the Native iOS List

Building Identical lists in Flutter and SwiftUI

An interesting exercise that I have recently liked to explore is building native iOS framworks in flutter multiplatform.

This week I decided to try lists!

Native list in SwiftUI:

Recreation in Flutter:

As you can see, it is not a perfect recreation, but it is quite good! Making the add animations could be a little smoother, and having the list rows contain their own background rather than a container representing it could also make for a better look.

Note: In the flutter version, I use two packages. Reorderables and Sprung. Make sure to add those to your pubspec.yaml file.

Anyways, here is the code!

iOS:

Github Link

Flutter:

Github Link

Leave a Reply

Your email address will not be published. Required fields are marked *