riverpod_lint
Riverpod_lint is a developer tool for users of Riverpod, designed to help stop common issues and simplify repetitive tasks.
3.1.8
487K downloads/mo
#524 most downloaded on pub.dev
rrousselGit/river_pod
What this package is like to depend on
Last release 26 days ago
28 Jul 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 56 of 56 stable releases
2 versions withdrawn
withdrawn after publishing
4 years old
73 releases · first in 2023
16 releases in the last 12 months
see the full history below
Release timeline
73 releases · Feb 2023 to Jul 2026Releases
latest 60 of 73-
3.1.828 Jul 2026Release notes
Open source →riverpod_annotation : 4.0.5 -> 4.0.6
riverpod_sqflite : 0.4.5 -> 0.4.6
riverpod_generator : 4.0.7 -> 4.0.8
flutter_riverpod : 3.4.1 -> 3.4.2
riverpod_lint : 3.1.7 -> 3.1.8
hooks_riverpod : 3.4.1 -> 3.4.2 -
3.1.727 Jul 2026 -
3.1.626 Jul 2026 -
3.1.410 Jun 2026 -
3.1.4-dev.306 May 2026 pre-release -
3.1.4-dev.203 May 2026 pre-release -
3.1.4-dev.123 Apr 2026 pre-releaseRelease notes
Open source →Support analyzer 12
Dependency changes
riverpod_analyzer_utilsupgraded to1.0.0-dev.10
-
3.1.303 Feb 2026Release notes
Open source →- Assists to convert widgets to other widget types now correctly trigger on anything
between the
classkeyword and{
Dependency changes
riverpodupgraded to3.2.1
- Assists to convert widgets to other widget types now correctly trigger on anything
between the
-
3.1.217 Jan 2026 -
3.1.117 Jan 2026 -
3.1.026 Dec 2025Release notes
Open source →riverpod_lintis no-longer implemented usingcustom_lint, but insteadanalysis_server_plugin -
3.0.309 Oct 2025 -
3.0.207 Oct 2025 -
3.0.130 Sep 2025 -
3.0.010 Sep 2025Release notes
Open source →Finally, a stable release for Riverpod 3.0!
For the full changelog, check out https://riverpod.dev/docs/whats_new
-
3.0.0-dev.1809 Sep 2025 pre-releaseRelease notes
Open source →- Removed
avoid_manual_providers_as_generated_provider_dependency. The corresponding technical limitation has been solved, so this constraint is no-longer necessary.
- Removed
-
3.0.0-dev.1701 Aug 2025 pre-release -
3.0.0-dev.1620 Jun 2025 pre-releaseRelease notes
Open source →riverpodupgraded to3.0.0-dev.16riverpod_analyzer_utilsupgraded to1.0.0-dev.3
-
3.0.0-dev.1504 May 2025 pre-release -
3.0.0-dev.1402 May 2025 pre-release -
3.0.0-dev.1301 May 2025 pre-release -
3.0.0-dev.1230 Apr 2025 pre-releaseRelease notes
Open source →-
All lints/assists now automatically add the relevant imports when updating code.
-
Updated
provider_dependenciesto support@Dependencies -
added
riverpod_syntax_error, for reporting errors when the generator would throw. -
added
avoid_keep_alive_dependency_inside_auto_dispose -
Fix
provider_parametersfor objects using mixins. -
Breaking: No-longer exports various providers from
package:riverpod.
Various lints had their severity changed:
avoid_build_context_in_providersis now an INFOavoid_ref_inside_state_disposeis now a WARNINGfunctional_refis now a WARNINGnotifier_buildis now an error.missing_provider_scopeis now a WARNINGprovider_dependenciesis now a WARNINGscoped_providers_should_specify_dependenciesis now a WARNINGnotifier_extendsis now a WARNINGprovider_parametersis now a WARNING
-
-
3.0.0-dev.427 Nov 2023 pre-releaseNothing published for this version
-
3.0.0-dev.320 Nov 2023 pre-releaseNothing published for this version
-
3.0.0-dev.220 Nov 2023 pre-releaseNothing published for this version
-
3.0.0-dev.130 Oct 2023 pre-releaseNothing published for this version
-
3.0.0-dev.029 Oct 2023 pre-releaseNothing published for this version
-
2.6.528 Feb 2025 -
2.6.408 Jan 2025 -
2.6.318 Nov 2024Release notes
Open source →- provider_dependencies now correctly detects nested ref invocations where a dependency is used as a parameter of another dependency (thanks to @josh-burton)
-
2.6.227 Oct 2024 -
2.6.122 Oct 2024Release notes
Open source →- Support analyzer >=6.7.0 <7.0.0 This should make it compatible with Flutter's stable channel.
-
2.4.020 Oct 2024Release notes
Open source →functional_refand its quick-fix now expect:@riverpod Model foo(Ref ref) => ..
-
2.3.1412 Oct 2024 -
2.3.1318 Aug 2024 -
2.3.1214 May 2024 -
2.3.1114 May 2024 withdrawn -
2.3.1010 Mar 2024 -
2.3.904 Feb 2024 -
2.3.803 Feb 2024Release notes
Open source →- Fix
async_value_nullable_patternfalse positive when used with generics that have non-nullable type constrains. - Add migration widget field when convert Stateless-based and Stateful-based to each other (thanks to @Kurogoma4D)
- Fix
-
2.3.726 Nov 2023 -
2.3.620 Nov 2023 -
2.3.520 Nov 2023 -
2.3.413 Nov 2023Release notes
Open source →- Updated
scoped_providers_should_specify_dependenciesto ignore instances of using pumpWidget in tests (thanks to @lockieRichter)
- Updated
-
2.3.328 Oct 2023 -
2.3.221 Oct 2023 -
2.3.115 Oct 2023 -
2.3.005 Oct 2023Release notes
Open source →- Added
async_value_nullable_patternlint, to warn against usingAsyncValue(:final value?)in pattern match whenvalueis possibly nullable. - Added
protected_notifier_statelint, which warns against using theNotifier.stateproperty of a notifier different than the current one. Aka a Notifier "A" should not directly access thestateif a Notifier "B".
- Added
-
2.2.102 Oct 2023Release notes
Open source →- Updated
functional_refandgenerator_class_extendsto support providers with generic parameters. - Fixed
functional_refthrowing if a provider specifies arguments but incorrectly did not specify a Ref
- Updated
-
2.2.002 Oct 2023 withdrawnRelease notes
Open source →- Added
avoid_build_context_in_providers(thanks to @charlescyt) - Fixed false positive with
avoid_manual_providers_as_generated_provider_dependencywhen using import aliases
- Added
-
2.1.127 Sep 2023Release notes
Open source →- Fixed
provider_dependencieslint causing false positives on providers with arguments.
- Fixed
-
2.1.014 Sep 2023Release notes
Open source →- Added
notifier_build, a lint to catch when a Notifier has nobuildmethod (thanks to @LeonardoRosaa)
- Added
-
2.0.404 Sep 2023 -
2.0.328 Aug 2023 -
2.0.228 Aug 2023 -
2.0.116 Aug 2023 -
2.0.003 Aug 2023Release notes
Open source →- Breaking Renamed
generator_class_extendstonotifier_extends - Breaking Renamed
stateless_reftofunctional_ref(thanks to @AhmedLSayed9) - Added
avoid_ref_inside_state_dispose(thanks to @LeonardoRosaa). This warns if aWidgetRefis used inState.dispose, which would result in a runtime error. - Support analyzer 6.0.0
- Breaking Renamed
-
1.4.025 Jul 2023Release notes
Open source →avoid_public_notifier_propertiesno-longer warns against public setters (thanks to @skreborn)
-
1.3.212 May 2023 -
1.3.124 Apr 2023