EShopee-Flutter-eCommerce-App icon indicating copy to clipboard operation
EShopee-Flutter-eCommerce-App copied to clipboard

Migrate app to Flutter 2.0 Sound Null Safety

Open rahul-badgujar opened this issue 3 years ago • 4 comments

The app is using Flutter 1.0 which uses Unsound Null Safety. Anyone who would like to contribute to making this app to Flutter 2.0 can send PR's.

rahul-badgujar avatar Oct 09 '21 14:10 rahul-badgujar

I am very new to coding and have been using this project to learn, but i currently have it up and running on the latest version of Flutter from the Main branch of the official repository.

I have made several changes to the overall look & feel of the app, but i think there should be a way to for you to pull only the relevant files/changes. I am just not sure what files those would be. If you could help me figure that out i'll gladly contribute.

Definitely the pubspec.yaml but i also had to update from FlatButton to TextButton, so i'm not sure how to isolate and not push all my changes to your project.

mycosavant avatar Dec 21 '21 00:12 mycosavant

Well, the ideal approach for you would have been to have two different branches - one for the changes to my project, and another for your personal changes. Another approach would be to stash only the files that you want my project to update, and include them only in commit - but for that, the requirement is that the changes should be file-particular in deciding whether they are relevant to updating my project.

rahul-badgujar avatar Dec 21 '21 03:12 rahul-badgujar

aha! Thanks for that insight. As of right now, i haven't committed any of the local changes to my forked repo. I will look into how to make this happen.

mycosavant avatar Dec 24 '21 16:12 mycosavant

Best luck! Glad to see your enthusiasm towards learning.

rahul-badgujar avatar Dec 24 '21 17:12 rahul-badgujar