Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unused dependencies Shows in Flutter

I’m developing flutter application and I using below dependencies for my project.

  • webview_flutter: ^3.0.0

  • connectivity_plus: ^2.2.0

    MEDevel.com: Open-source for Healthcare and Education

    Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

    Visit Medevel

  • html: ^0.15.0

  • sn_progress_dialog: ^1.0.3

  • http: ^0.13.4

  • pin_code_fields: ^7.3.0

  • flutter_barcode_scanner: ^2.0.0

  • url_launcher: ^6.0.20

  • datetime_picker_formfield: ^2.0.0

  • extended_masked_text: ^2.3.1

  • image_picker: ^0.8.4+8

  • timelines: ^0.1.0

  • carousel_slider: ^4.0.0

  • page_transition: ^2.0.5

  • provider: ^6.0.2

  • native_updater: ^0.1.1

  • flutter_svg: ^1.0.3

  • dropdown_search: ^2.0.1

  • flutter_rating_bar: ^4.0.0

  • expandable: ^5.0.1

  • crypto: ^3.0.1

  • device_info_plus: ^3.2.1

  • dart_ipify: ^1.1.1

  • qr_code_scanner: ^0.6.1

  • flutter_jailbreak_detection: ^1.8.0

  • flutter_secure_storage: ^5.0.2

  • firebase_messaging: ^11.2.6

  • firebase_core: ^1.12.0

  • cloud_firestore: ^3.1.8

  • flutter_google_places: ^0.3.0

  • google_directions_api: ^0.9.0

  • geolocator: ^8.2.0

  • geocoding: ^2.0.2

  • google_maps_flutter: ^2.1.1

  • location: ^4.3.0

  • flutter_polyline_points: ^1.0.0

  • permission_handler: ^9.2.0

But in my android folder shows unused dependencies . Anyone can explain this and how to remove this from project ?
enter image description here
Ex:package_info_plus

>Solution :

I am not sure if I am giving the correct answer but, this may be because each flutter package/plugin may depend on others. If you see the device_info_plus on pub.dev you will see its dependencies. See the below image.

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading