Running Outdated Flutter Projects in 2023 || Flutter Old GitHub Project Run: A Step-by-Step Guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video I will show you how we can write all outdated Plata for you like this this one is clear lastly updated in 2020 this one is not supporting platonal safety or data 3 so I will show you how we can run this kind of outdated project in 2023 or later so first I will probably project from Utah okay let's open the project with Android Studio okay and easiest method for running this kind of project this this kind of we run as normal project so you can see there's issues even if you fix this issue we can't have many issues with later switch so easiest way I found run this kind of project create a new Plata project with same name as this project name so I will first I will create a project you can see so this project name is operator underscore app I will create a new project with this name I only want Android and iOS if you want you can check other version as well so I will create new project open it and open it separately so now we have both projects first thing I will do I will copy all the dart file from the old project so we have to replace even here main dot that file we will replace with new one okay now next we have to copy the dependency packages two packages they used so I will copy this packages here okay but you can see this dependency package versions are not supporting with later splatter version so one thing you can simply do remove the package number and try it again so but you can see is still Carousel pro package is not supporting it productively let's check why what happened this character package let's Google that foreign and if you really want we have to find another suitable package alternative package for this situation but in here I am not adding so another package for that but if you want you have to add so next we have to update refactor these codes these issues are coming because that is all for educational support and not directly and we have to fix all these issues by manually by using this ID suggestion so it's not much hard but it has you have to spend some time you can see really I will refactor the entire code by following these suggestions so this here I'm recommend you to use Android Studio so I am not big fan of the vs code but if you really want you can use it but doing this kind of thing is in Android Studio is very easy together so you can see here even some packages are like they are parameter names are changed so this kind of situation you have to check through the package and use your product knowledge you have to use your button only to refactor this code some phases so since these projects have reloaded this kind of things are really changed so with new versions so see I will change in this part great here I will leave the carousel Pro until I finish other whole finally we can check that we have we have repeat same thing you can see most of the recommended keyword and key we have to foreign okay this one is about to code testing you don't have to worry about that ah here here carousel you can see here they use Carousel Pro dependency I will simply I will comment this part this one yeah I will come in I will put the placehold yeah I will put the placeholder in this place so at the moment a tinker lip so here we have to also comment package import so okay now we have no errors but you can furthermore you can check this warning and upgrade but I will not do that in here sorry let's run the project [Music] okay you can see now our project is successfully built and running the other one thing I miss I didn't copy the asset folder so let's copy the assets so here we can have the copy the asset folder and paste it here then we have to upgrade pubspect.in file so here we can we can have or you can hear copy this part copy and divert and paste in with our project to me you know okay put the space okay now there's a font so I will also copy the this part okay get paste okay now run the pop gate and I will run the project okay and now you can see this very old project is running without having any issue so you can see this you can you can now use follow this code you can continue this project so you can do whatever you want so so here you can see project is completed around here so that's that's all for this video guys so thanks for watching hope this video will help you to help you foreign
Info
Channel: Next DevOps
Views: 7,577
Rating: undefined out of 5
Keywords: Flutter, old project, outdated project, Flutter 1, Flutter 3, upgrade, run, GitHub, local, tutorial, step-by-step guide, 2023, code, development, open-source, contribution, software, programming, mobile app, compatibility, flutter github report run, flutter old project run, flutter old project not running, flutter run project from github, how to run flutter old project, how to run flutter old project with null safty, futter teplate run, how to run flutter
Id: 9ZMM6T1n6R4
Channel Id: undefined
Length: 10min 42sec (642 seconds)
Published: Wed Jun 07 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.