sub_state 1.0.0
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