Using packages – Removing a package dependency to an app using flutter pub remove

To remove the package css_colors from an app:

Use the pub remove command from inside the project directory

flutter pub remove css_colors

The Installing tab, available on any package page on pub.dev, is a handy reference for these steps.

Leave a comment

Your email address will not be published. Required fields are marked *