No description
  • Kotlin 90.9%
  • HTML 9.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-14 23:11:46 +02:00
.github/ISSUE_TEMPLATE chore: add issue templates 2025-04-24 21:30:23 +02:00
gradle/wrapper chore: upgrade IntelliJ Gradle plugin to version 2.x 2025-12-18 16:28:05 +01:00
release build: bump plugin version to 1.8.1 2026-09-14 23:11:46 +02:00
screenshots chore: add screenshots 2025-05-02 19:58:40 +02:00
src/main fix: use correct widget type for new-expressions in Wrap with Consumer 2026-09-14 23:09:44 +02:00
.gitignore chore(build): add task for signing plugin zip 2026-09-11 20:47:53 +02:00
.sdkmanrc chore: upgrade IntelliJ Gradle plugin to version 2.x 2025-12-18 16:28:05 +01:00
build.gradle.kts build: bump untilBuild to 262.2 for IntelliJ 2026.2 support 2026-07-22 22:39:15 +02:00
CHANGELOG.md build: bump plugin version to 1.8.1 2026-09-14 23:11:46 +02:00
gradle.properties build: bump plugin version to 1.8.1 2026-09-14 23:11:46 +02:00
gradlew chore: upgrade IntelliJ Gradle plugin to version 2.x 2025-12-18 16:28:05 +01:00
gradlew.bat chore: upgrade IntelliJ Gradle plugin to version 2.x 2025-12-18 16:28:05 +01:00
LICENSE chore: add README, icon, license, and update version 2025-04-23 22:23:41 +02:00
README.md feat: add Wrap with Consumer / Remove Consumer intentions 2026-09-14 22:13:01 +02:00
settings.gradle.kts add riverpod snippets 2025-04-04 15:56:57 +02:00
snippets.md refactor: snippets 2025-05-02 17:30:19 +02:00
Taskfile.yml build(taskfile): default VERSION to pluginVersion from gradle.properties 2026-09-14 21:01:27 +02:00

RiverpodX

Boost your Flutter development with Riverpod! This plugin enhances your workflow by offering a set of useful tools specifically designed for working with Riverpod.

Features

  • GoTo Provider Declaration: Quickly navigate to the providers declaration.
  • Find Usages for Providers: Locate all usages of a provider in the project.
  • Code Snippets: Use predefined code snippets to save time. Generator snippets automatically add the riverpod_annotation import and the matching part '*.g.dart' directive if they are missing.
  • Convert ConsumerWidget to ConsumerStatefulWidget (and vice versa): Easily switch between ConsumerWidget and ConsumerStatefulWidget.
  • Wrap with Consumer / Remove Consumer: Wrap the widget expression under the caret in a Consumer widget, or remove an enclosing Consumer/Consumer.builder widget, keeping the widget it returns.

Usage

Snippets

Generator Syntax

Shortcut Description
riverpodPart Creates a part statement
generatorVariable Create a variable using the generator
generatorFutureVariable Create a future variable using the generator
notifierProvider Create a NotifierProvider using the generator

Note: All providers can be created with keepAlive and family.


Common Syntax

Shortcut Description
consumer New Consumer
consumerWidget New ConsumerWidget
consumerStatefulWidget New ConsumerStatefulWidget
provider* New Provider (suffix modifier: e.g., autoDispose)
futureProvider* New FutureProvider
when Handle AsyncValue using when with data, error, and loading cases

Note: (* ) is suffix modifier, ex: autoDispose, family


For a full list of all available snippets, please check the complete list of snippets.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "RiverpodX" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Contributing

If you have suggestions or improvements for the plugin, feel free to contribute! Please follow these steps:

  1. Report Issues: If you encounter bugs or have ideas for improvements, please open an issue on Codeberg.
  2. Create a Branch: Create a new branch for your feature or bug fix.
  3. Make Changes: Implement your changes and ensure they align with the project's coding standards.
  4. Submit a Pull Request: Once your changes are ready, submit a pull request with a clear description of what you've done.

Thank you for helping improve the plugin!

Changelog

All notable changes to this project will be documented in the Changelog.

For detailed information on each release, please visit the Releases page.

License

This plugin is licensed under the Apache License Version 2.0. See the LICENSE file for more details.