169 похожих чатов

Hello everyone I am trying to run 4 year old

project and I am having this issue anyone can help?

11 ответов

26 просмотров

why did you try to run old project on newest flutter version?

Nitish-Garg Автор вопроса
Илья Коваленко
why did you try to run old project on newest flutt...

After trying two days now I am downgrading the flutter version using fvm

Nitish Garg
After trying two days now I am downgrading the flu...

why not to change sdk variable in the pubspec ?

Nitish Garg
After trying two days now I am downgrading the flu...

I recently had the same problem, fvm didn't work for me, I had to downgrade my flutter as well as jdk, 4 years is too long if your planning on maybe using it you better upgrade your project to latest.

Nitish-Garg Автор вопроса
MBAkhlaqi
I recently had the same problem, fvm didn't work f...

I tried but there are around 150 files and I will have to update all the files

Nitish-Garg Автор вопроса
Nitish Garg
I tried but there are around 150 files and I will ...

Yes you do if you want to use it, newer flutter version have better performance plus security, also there is a command 'dart migrate' which is deprecated in dart 3 or above but is available in later versions of dart 2, it basically upgrades your code to null safe automatically but you still have to do somethings manually. The legacy codebase I have worked with had several packages discontinued and some of them had concerning security issues which was stated in GitHub.

Nitish-Garg Автор вопроса
MBAkhlaqi
Yes you do if you want to use it, newer flutter ve...

Can you please send me any document or something?

Nitish Garg
Can you please send me any document or something?

https://dart.dev/null-safety/migration-guide

Nitish Garg
Can you please send me any document or something?

If you actually want to upgrade it to the latest be aware that it take a long time, I suggest you start a new project and add dependency one by one to avoid dependency hell, then migrate your code.

Nitish-Garg Автор вопроса

Похожие вопросы

Обсуждают сегодня

@Aiwan что такое база образца?
Alexey
27
Не многие знают, а кто знает, тот уже успел забыть, что в далёком 2004 году эта игра произвела настоящий фурор, настолько революционной была технология, применяемая для её соз...
ICCID
4
Хотя у меня сейчас есть более сложная задача, вот её думаю: как объяснить челу переходного возраста противоположного полу, обучающегося в польском колледже (а-ля наш техникум)...
Вячеслав Кузьменко
15
коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
Добрый день Хочу начать обучение языку, не являюсь представителем it, буду благодарна за помощь, совсем пока не понимаю ничего) Подскажите, пожалуйста, где можно начать первы...
Sara Lala
30
верно что я могу удалить эти addq и subq т.к. со стеком никакого взаимодействия нет (исключая call)?
Michael
16
Hi Everyone! To all Are you Looking for Interview Support at the Lowest Price? Look no further! Then contact us We offer Interview Support for a low cost variety of technol...
Rambabu Nallamilli
3
всем привет. подскажите: вот по русски называется "прошивка для контроллера". или "бинарь" могут сказать. или "дамп". А как по английски это называется? Я хочу попытаться по...
Павлик Ливаткин
4
А если изначально бот работал так : есть сайт онлайн школы. У каждого ученика свой кабинет. Где он авторизуется по своим данным. И уже в кабинете, на самом сайте делает оплату...
Денис 💡 Фрилансер
13
средствами IBX как-то можно выполнить запрос insert ... returning?
Igor
31
Карта сайта