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

Hello everyone I am trying to run 4 year old

project and I am having this issue anyone can help?

11 ответов

28 просмотров

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 Автор вопроса

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

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

Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
32
Хотел бы спросить у знающих, правильную ли я выбрал книгу для начала изучения ассемблера Юрова В.И ? Или есть более лучшие книги для начала обучения?
Botsman
25
Книга Юрова В.И пойдёт для обучения?
Botsman
24
$params = [ 'formid' => 'feedbackForm', 'formTpl' => '@CODE: <form class="form-validate" data-id="ajax_form"> <fieldset class="margin-bottom-md"> ...
Pathologic
1
> Примечательно, что новый владелец удаляет из GitHub любые жалобы, указывающие на подозрительную активность или смену владельца, и, видимо, рассчитывает на то, что пользовате...
Alex Sherbakov
1
а мы ещё не созрели до того, чтобы создать отдельный чатик про настройку редакторов?
Cheese Syrowiecki
16
И ещё вопрос: можно ли типа как на дос как-то запариться и с помощью прерываний выводить текст, вместо функции printf ?
НѣкъиⰘижєжєиꙁъвьсєсвѣтьноѣсѣтиѥсть•
34
Всем привет! У меня почему-то по-разному отображается TListView в Debug и Release режимах (FireMonkey)! При запуске под Win приложения TListView заливается программо. в Debug ...
Александр COM
8
Ладно, ещё тупого спрошу. Код должен банально вывести значение регистра на консоль, на деле же не выводя ничего, просто оставляя нерабочую консоль (открыта, ничего не написан...
НѣкъиⰘижєжєиꙁъвьсєсвѣтьноѣсѣтиѥсть•
25
Hey there Which is the best Linux destro for developers (coding)? To my research on reddit, they said Linux mint is good for mid level spec and Ubuntu for high Lev hardwar...
Wiz 🪄
11
Карта сайта