flutter_piper 0.0.3 copy "flutter_piper: ^0.0.3" to clipboard
flutter_piper: ^0.0.3 copied to clipboard

Flutter widgets for Piper State. ViewModelScope, Scoped, StateBuilder for lifecycle-aware state management.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.3 - 2025-12-09 #

Changed #

  • Updated SDK constraint to ^3.6.0
  • Updated piper_state dependency to ^0.0.3
  • Added explicit platform support for all Flutter platforms

0.0.2 - 2025-12-08 #

Added #

  • Scoped<T> — new widget for single ViewModel scoping with builder pattern
  • Scoped.withContext — variant with BuildContext access for dependency injection
  • ViewModelScope.withContext — added BuildContext variant for dependency injection
  • Named scopes via name parameter on ViewModelScope and Scoped
  • context.scoped<T>() extension for accessing scoped ViewModels

0.0.1 - 2025-12-08 #

Added #

  • ViewModelScope — provides ViewModels to widget tree
  • StateBuilder — rebuilds on state changes
  • StateBuilder2 — rebuilds when either of two listenables change
  • StateBuilder3 — rebuilds when any of three listenables change
  • StateListener — side effects without rebuilding
  • StateEffect — post-frame side effects with conditions
  • Extension methods: .build(), .buildWithChild(), .listen() on StateHolder
  • Extension methods: .displayWhen(), .displayWhenData(), .listenAsync() on AsyncStateHolder
  • context.vm<T>() and context.maybeVm<T>() extensions for accessing ViewModels
0
likes
160
points
106
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter widgets for Piper State. ViewModelScope, Scoped, StateBuilder for lifecycle-aware state management.

Homepage
Repository (GitHub)
View/report issues

Topics

#state-management #viewmodel #widget #flutter #architecture

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, piper_state

More

Packages that depend on flutter_piper