sub_state 1.0.0 copy "sub_state: ^1.0.0" to clipboard
sub_state: ^1.0.0 copied to clipboard

A lightweight state management helper built on top of bloc and freezed.

Sub State #

A lightweight, type-safe state management utility for Dart and Flutter applications. Built with freezed for seamless state handling with union types.

Features #

  • 🚀 Type-safe state management with generics
  • 🎯 Four essential states: Initial, Loading, Success, Failure
  • 🔍 Easy state checking with boolean getters
  • 💪 Null-safe data and error access
  • 🏗️ Built with Freezed for pattern matching and immutability
  • 📦 Lightweight and focused

Installation #

Add this to your pubspec.yaml:

dependencies:
  sub_state: ^1.0.0
2
likes
0
points
91
downloads

Publisher

verified publisheralghanem.de

Weekly Downloads

A lightweight state management helper built on top of bloc and freezed.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

freezed_annotation

More

Packages that depend on sub_state