Flutter Riverpod Setup VSCode Extension
Overview
A VSCode extension to quickly set up Riverpod packages and configuration in a Flutter project.
Features
- Automatically installs essential Riverpod-related packages
- Configures
analysis_options.yaml for custom lint rules
- Simplifies project setup with a single command
Prerequisites
- Flutter SDK installed
- VSCode with Flutter extension
Installation
- Open VSCode
- Go to Extensions (Ctrl+Shift+X)
- Search for "Flutter Riverpod Setup"
- Click Install
Usage
- Open a Flutter project
- Open Command Palette (Ctrl+Shift+P)
- Type "Setup Flutter Riverpod Project"
- Run the command
Packages Installed
- flutter_riverpod
- riverpod_annotation
- riverpod_generator (dev)
- build_runner (dev)
- custom_lint (dev)
- riverpod_lint (dev)
Configuration
The extension automatically updates analysis_options.yaml to enable custom lint rules.
Troubleshooting
- Ensure you have an open Flutter project
- Check Flutter and Dart SDK are correctly installed
License
MIT License
Author
GindCode
| |