dart pub remove

Removes a dependency from the current package

Options

NameDescription
-h, --helpPrint this usage information
--offlineUse cached packages instead of accessing the network
--no-offlineDo not use cached packages instead of accessing the network
-n, --dry-runReport what dependencies would change but don't change any
--precompilePrecompile executables in immediate dependencies
--no-precompileDo not precompile executables in immediate dependencies