Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i access to transitive dependencies to update them in flutter

Tags:

flutter

dart

when i run pub upgrade i am getting these tips which they are out of the date but don't know where could i update them .. i even don't have them in my normal dependencies

enter image description here

could please anyone tell me what is this and how can i update them ?

i tried to update everything .. dependencies, gradle Android studio flutter sdk i all have them up to date but these still pop up when i run pup upgrade

like image 545
Mohammed Hamdan Avatar asked Sep 07 '25 09:09

Mohammed Hamdan


1 Answers

"Transitive dependency" means your program depends on it, because of a dependency you have that depends on it. So in other words, a package you use uses for example async 2.8.2. There is little you can do other than waiting for that package owner to update their package, so you can update that package.

To find out which of your dependencies uses which other dependency, you can run:

flutter pub deps

It will show you a dependency tree with version numbers.

like image 141
nvoigt Avatar answered Sep 10 '25 22:09

nvoigt