Skip to content

ankurg132/flutter-pub-explorer

Repository files navigation

Flutter Pub Explorer

A VSCode extension to browse, search, and add pub.dev packages directly in your Flutter project.

Features

  • Browse popular Flutter packages from pub.dev
  • Search for specific packages
  • View package details including version history
  • Add packages to your Flutter project with one click (flutter pub add)
  • View and manage currently installed packages
  • Upgrade to the latest versions of the installed packages with one click.
  • Remove a package from your project with one click (flutter pub remove)

Download:

The package is available in VSCode marketplace, you can directly install using this link. For other IDEs, you can download using OpenVSX link.

Screenshots

Package List Package Details Browse Packages Install Package
Package List Package Details Browse Packages Install Package

Usage

  1. Open the Pub Explorer panel from the Activity Bar (package icon)
  2. Browse the default list of Flutter packages or search for specific ones
  3. Click "flutter pub add" to add a package to your project
  4. Click "Details" to view more information and select specific versions
  5. Switch to the "Installed" view to manage your current project dependencies
  6. Upgrade to the latest versions of the installed packages with one click.
  7. Remove a package from your project with one click (flutter pub remove)

Requirements

  • Flutter SDK installed and available in PATH
  • A Flutter project open in VS Code

Installation

  1. Clone this repository
  2. Run npm install to install dependencies
  3. Run npm run compile to build the extension
  4. Press F5 to run the extension in development mode

Development

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes
npm run watch

# Package the extension
npx vsce package

About

A VSCode Extension to browse, search and add pub.dev packages to your Flutter project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published