FLUTTER ECOSYSTEM

riverbloc

BlocProvider implementation with riverpod as alternative to provider, similar to StateNotifierProvider

Latest version
3.0.0
30-day downloads
4.2K
Likes
114
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Riverbloc is a state management package for Flutter that provides a BlocProvider-like implementation using Riverpod as its foundation. It serves as an alternative to the provider package, offering a more flexible and scalable approach to dependency injection and state management. Inspired by StateNotifierProvider, Riverbloc enables efficient, testable, and reactive state handling across Flutter applications. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform development.

Use cases
  • Cross-platform Flutter apps
  • State management with Riverpod
  • Dependency injection in large-scale apps
  • Reactive UI updates
  • Testing state logic
  • Replacing Provider with Riverpod
Key features
  • Riverpod-based state management
  • BlocProvider-like API
  • Supports all Flutter platforms
  • Easy integration with existing code
  • Testable state logic
  • Type-safe dependency resolution
Suitable for
  • Developers familiar with Riverpod
  • Large-scale Flutter applications
  • Teams needing robust state management
  • Apps requiring platform-wide consistency
  • Projects aiming for clean architecture
Considerations
  • Requires understanding of Riverpod concepts
  • May introduce learning curve for new users
  • Best suited for projects already using Riverpod
  • Not recommended for simple one-off widgets
  • Performance depends on proper usage patterns
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add riverbloc

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects

No data available yet.