popsicle 1.0.0-rc.1 copy "popsicle: ^1.0.0-rc.1" to clipboard
popsicle: ^1.0.0-rc.1 copied to clipboard

Popsicle is a lightweight, reactive state management and DI framework for Flutter. Built on the philosophy f(state) = UI, it simplifies building scalable, declarative apps.

1.0.0-rc.1 #

๐Ÿงช Release Candidate โ€“ Finalizing API for 1.0.0 #

  • ๐Ÿงฉ New Core State: PopsicleState<T>

    • Lightweight reactive state class added for simplified state management.
    • Offers a minimal API while integrating with the existing reactive ecosystem.
  • ๐Ÿš€ Dependency Bootstrap Enhancement

    • Refactored and improved DI bootstrap logic to support more modular and testable setups.

โš ๏ธ This is a release candidate for 1.0.0. While the API is considered feature-complete, minor refinements and naming adjustments may still occur before final release.

0.1.1-beta #

๐ŸŽ‰ Beta Release Highlights #

  • ๐Ÿง  Middleware Revamp

    • Introduced type-safe MiddlewareContext<T> and MiddlewarePipeline<T> to support chained middleware with contextual awareness (oldValue, newValue, key, scope).
  • โš™๏ธ Modular & Scalable Dependency Injection

  • ๐Ÿ’ฅ Declarative State Access

    • Introduced ReactiveProvider.get<T>() for easy and declarative access to state.
  • ๐Ÿงฉ Clean Architecture Improvements

    • Refactored internals to better support separation of concerns and composability.
    • Reduced boilerplate and improved clarity in the state registration lifecycle.
  • ๐Ÿงช Enhanced Testability

    • State and DI system now fully testable in isolation.
    • Easier to mock, override, and inject test-specific dependencies or states.
  • ๐Ÿ“ฆ Scalability Enhancements

    • Popsicle is now ready for large-scale applications with a robust foundation for reactive state and modular DI.

Note: This is a beta release, APIs may change slightly before the stable 1.0.0. Feedback is welcome!

0.0.2-alpha #

โœจ Initial Release #

๐Ÿ” Popsicle State Management

  • โœ… ReactiveState, AsyncState, and StreamState for fully reactive and composable state handling
  • โœ… Lifecycle-aware state observers with automatic disposal
  • โœ… Middleware support to intercept or transform state changes

๐Ÿ“ฆ Built-in Dependency Injection

  • โœ… Zero-boilerplate DI with centralized configuration via AppDI class
  • โœ… No global variables required โ€” clean and testable setup
  • โœ… Context-free access using inject<T>()
  • โœ… context.get<T>() extension for widget-based DI

๐Ÿ› ๏ธ Architecture

  • โœ… Designed for both small and large-scale applications
  • โœ… Works in Flutter apps and Dart CLI projects

๐ŸŒฑ Ideal for

  • Developers looking for a lightweight yet powerful state management and DI solution with minimal setup.
2
likes
160
points
30
downloads
screenshot

Publisher

verified publisherflutterwiki.com

Weekly Downloads

Popsicle is a lightweight, reactive state management and DI framework for Flutter. Built on the philosophy f(state) = UI, it simplifies building scalable, declarative apps.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #state-management #dependency-injection #reactive-programming #popsicle

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on popsicle