flutter pub deps 命令
正在使用 Flutter 开发的你是否也有这样的困扰:组件繁多,依赖关系错综复杂,理不清头绪,看不清耦合。那么有没有一种工具或者方法让我们的依赖关系变得清晰明了,让人秒懂呢?我们给出答案就是:依赖关系可视化。
C:\Users\****\flutter_app> flutter pub deps
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Resolving dependencies... (3.4s)
Got dependencies.
Dart SDK 3.3.0
Flutter SDK 3.19.2
flutter_app 1.0.23+24042802
|-- card_swiper 3.0.1
| '-- flutter...
|-- crypto 3.0.3
| '-- typed_data 1.3.2
| '-- collection...
|-- cupertino_icons 1.0.6
|-- dbus 0.7.10
| |-- args 2.5.0
| |-- xml 6.5.0
| | |-- petitparser 6.0.2
| | | '-- meta...
| | |-- collection...
| | '-- meta...
| |-- ffi...
| '-- meta...
|-- extended_image 8.1.1
| |-- extended_image_library 3.6.0
| | |-- http_client_helper 3.0.0
| | | '-- http...
| | |-- crypto...
| | |-- flutter...
| | |-- js...
| | |-- path...
| | '-- path_provider...
| |-- flutter...
| '-- meta...
|-- flutter 0.0.0
| |-- characters 1.3.0
| |-- collection 1.18.0
| |-- material_color_utilities 0.8.0
| | '-- collection...
| |-- meta 1.11.0
| |-- sky_engine 0.0.99
| '-- vector_math 2.1.4
|-- flutter_colorpicker 1.0.3
| '-- flutter...
|-- flutter_draggable_gridview 0.0.9
| '-- flutter...
|-- flutter_lints 2.0.3
| '-- lints 2.1.1
|-- flutter_test 0.0.0
| |-- async 2.11.0
| | |-- collection...
| | '-- meta...
| |-- boolean_selector 2.1.1
| | |-- source_span...
| | '-- string_scanner...
| |-- clock 1.1.1
| |-- fake_async 1.3.1
| | |-- clock...
| | '-- collection...
| |-- leak_tracker 10.0.0
| | |-- clock...
| | |-- collection...
| | |-- meta...
| | |-- path...
| | '-- vm_service...
| |-- leak_tracker_flutter_testing 2.0.1
| | |-- flutter...
| | |-- leak_tracker...
| | |-- leak_tracker_testing...
| | |-- matcher...
| | '-- meta...
| |-- leak_tracker_testing 2.0.1
| | |-- leak_tracker...
| | |-- matcher...
| | '-- meta...
| |-- matcher 0.12.16+1
| | |-- async...
| | |-- meta...
| | |-- stack_trace...
| | |-- term_glyph...
| | '-- test_api...
| |-- source_span 1.10.0
| | |-- collection...
| | |-- path...
| | '-- term_glyph...
| |-- stack_trace 1.11.1
| | '-- path...
| |-- stream_channel 2.1.2
| | '-- async...
| |-- string_scanner 1.2.0
| | '-- source_span...
| |-- term_glyph 1.2.1
| |-- test_api 0.6.1
| | |-- async...
| | |-- boolean_selector...
| | |-- collection...
| | |-- meta...
| | |-- source_span...
| | |-- stack_trace...
| | |-- stream_channel...
| | |-- string_scanner...
| | '-- term_glyph...
| |-- vm_service 13.0.0
| |-- characters...
| |-- collection...
| |-- flutter...
| |-- material_color_utilities...
| |-- meta...
| |-- path...
| '-- vector_math...
|-- gbk_codec 0.4.0
| '-- html 0.15.4
| |-- csslib 1.0.0
| | '-- source_span...
| '-- source_span...
|-- get 4.6.6
| '-- flutter...
|-- isar 3.1.0+1
| |-- js 0.6.7
| | '-- meta...
| |-- ffi...
| '-- meta...
|-- lottie 2.7.0
| |-- archive 3.5.0
| | |-- crypto...
| | '-- path...
| |-- path 1.9.0
| |-- flutter...
| '-- vector_math...
|-- module_app 1.0.0+1
| |-- grpc 3.2.4
| | |-- fixnum 1.1.0
| | |-- googleapis_auth 1.5.1
| | | |-- google_identity_services_web 0.3.1+1
| | | | |-- meta...
| | | | '-- web...
| | | |-- http_parser 4.0.2
| | | | |-- collection...
| | | | |-- source_span...
| | | | |-- string_scanner...
| | | | '-- typed_data...
| | | |-- args...
| | | |-- crypto...
| | | '-- http...
| | |-- http 1.2.1
| | | |-- web 0.5.1
| | | |-- async...
| | | |-- http_parser...
| | | '-- meta...
| | |-- http2 2.3.0
| | |-- archive...
| | |-- async...
| | |-- clock...
| | |-- crypto...
| | |-- meta...
| | '-- protobuf...
| |-- process_run 0.13.3+1
| | |-- pub_semver 2.1.4
| | | |-- collection...
| | | '-- meta...
| | |-- synchronized 3.1.0+1
| | |-- args...
| | |-- collection...
| | |-- meta...
| | |-- path...
| | |-- string_scanner...
| | '-- yaml...
| |-- protobuf 2.1.0
| | |-- collection...
| | |-- fixnum...
| | '-- meta...
| |-- yaml 3.1.2
| | |-- collection...
| | |-- source_span...
| | '-- string_scanner...
| |-- flutter...
| '-- module_base...
|-- module_base 0.0.1
| |-- flutter_easyloading 3.0.5
| | |-- flutter_spinkit 5.2.1
| | | '-- flutter...
| | '-- flutter...
| |-- intl 0.18.1
| | |-- clock...
| | |-- meta...
| | '-- path...
| |-- isolate 2.1.1
| |-- shared_preferences 0.0.1
| | |-- file 7.0.0
| | | |-- meta...
| | | '-- path...
| | |-- shared_preferences_platform_interface 2.3.2
| | | |-- flutter...
| | | '-- plugin_platform_interface...
| | |-- flutter...
| | '-- path...
| |-- flutter...
| |-- get...
| '-- module_native...
|-- module_common 0.0.1
| |-- flutter...
| |-- get...
| |-- module_base...
| '-- module_data...
|-- module_data 0.0.1
| |-- flutter...
| |-- module_base...
| '-- module_common...
|-- module_native 0.0.1
| |-- ffi 2.1.2
| |-- flutter...
| |-- get...
| |-- isolate...
| |-- module_base...
| |-- module_data...
| '-- module_service...
|-- module_service 0.0.1
| |-- flutter...
| |-- isar...
| |-- module_base...
| |-- module_data...
| '-- path_provider...
|-- network_to_file_image 4.0.1
| '-- flutter...
|-- path_provider 0.0.1
| '-- flutter...
|-- plugin_platform_interface 2.1.8
| '-- meta...
|-- qr_flutter 4.1.0
| |-- qr 3.0.1
| | '-- meta...
| '-- flutter...
|-- video_player_elinux 0.9.9
| |-- video_player 2.8.6
| | |-- video_player_android 2.4.12
| | | |-- flutter...
| | | '-- video_player_platform_interface...
| | |-- video_player_avfoundation 2.5.6
| | | |-- flutter...
| | | '-- video_player_platform_interface...
| | |-- video_player_web 2.3.0
| | | |-- flutter_web_plugins 0.0.0
| | | | |-- characters...
| | | | |-- collection...
| | | | |-- flutter...
| | | | |-- material_color_utilities...
| | | | |-- meta...
| | | | '-- vector_math...
| | | |-- flutter...
| | | |-- video_player_platform_interface...
| | | '-- web...
| | |-- flutter...
| | |-- html...
| | '-- video_player_platform_interface...
| |-- flutter...
| '-- video_player_platform_interface...
'-- video_player_platform_interface 6.2.2
|-- flutter...
'-- plugin_platform_interface...