Reputation: 1
I am an absolute beginner to Flutter and Visual. I have a little experience in school, but that was long ago.
I created a little project. So far so good.
I wanted to add a database. GPT was so helpful to give me the code
sqflite: ^2.4.1
and path: 1.9.1
for my pubspec.yaml
.
I put flutter pub get in the terminal and my problems began.
Resolving dependencies...
Downloading packages...
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
leak_tracker 10.0.7 (10.0.8 available)
leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
leak_tracker 10.0.7 (10.0.8 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
leak_tracker 10.0.7 (10.0.8 available)
leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
matcher 0.12.16+1 (0.12.17 available)
material_color_utilities 0.11.1 (0.12.0 available)
meta 1.15.0 (1.16.0 available)
path 1.9.0 (1.9.1 available)
source_span 1.10.0 (1.10.1 available)
stack_trace 1.12.0 (1.12.1 available)
stream_channel 2.1.2 (2.1.4 available)
string_scanner 1.3.0 (1.4.1 available)
term_glyph 1.2.1 (1.2.2 available)
test_api 0.7.3 (0.7.4 available)
vm_service 14.3.0 (15.0.0 available)
Got dependencies!
19 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
AND
Showing outdated packages.
\[\*\] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies:
path \*1.9.0 \*1.9.0 \*1.9.0 1.9.1
dev_dependencies: all up-to-date.
transitive dependencies:
characters \*1.3.0 \*1.3.0 \*1.3.0 1.4.0
collection \*1.19.0 \*1.19.0 \*1.19.0 1.19.1
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
transitive dev_dependencies:
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
transitive dev_dependencies:
async \*2.11.0 \*2.11.0 \*2.11.0 2.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
transitive dev_dependencies:
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
material_color_utilities \*0.11.1 \*0.11.1 \*0.11.1 0.12.0
meta \*1.15.0 \*1.15.0 \*1.15.0 1.16.0
transitive dev_dependencies:
async \*2.11.0 \*2.11.0 \*2.11.0 2.12.0
boolean_selector \*2.1.1 \*2.1.1 \*2.1.1 2.1.2
clock \*1.1.1 \*1.1.1 \*1.1.1 1.1.2
fake_async \*1.3.1 \*1.3.1 \*1.3.1 1.3.2
leak_tracker \*10.0.7 \*10.0.7 \*10.0.7 10.0.8
leak_tracker_flutter_testing \*3.0.8 \*3.0.8 \*3.0.8 3.0.9
matcher \*0.12.16+1 \*0.12.16+1 \*0.12.16+1 0.12.17
source_span \*1.10.0 \*1.10.0 \*1.10.0 1.10.1
stack_trace \*1.12.0 \*1.12.0 \*1.12.0 1.12.1
stream_channel \*2.1.2 \*2.1.2 \*2.1.2 2.1.4
string_scanner \*1.3.0 \*1.3.0 \*1.3.0 1.4.1
term_glyph \*1.2.1 \*1.2.1 \*1.2.1 1.2.2
test_api \*0.7.3 \*0.7.3 \*0.7.3 0.7.4
vm_service \*14.3.0 \*14.3.0 \*14.3.0 15.0.0
You are already using the newest resolvable versions listed in the 'Resolvable' column.
Newer versions, listed in 'Latest', may not be mutually compatible.
Nothing happened, nothing changed. So what's the move here?
I guess something is outdated. But why is it not getting those updates by itself?
I checked the pub.dev
side from sqflite and path and tried it there was. That seemed to installed something but its not adding something in the dependencies nor is the import sqflite or path working.
Can anyone explain my problem to me, and now how to resolve it?
I expected the terminal to install sqflite and path after the flutter pub get.
Upvotes: 0
Views: 38