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

Flutter bindings for void_signals - high-performance reactive 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.

1.0.0 - 2024-11-28 #

Added #

  • Initial stable release of void_signals_flutter
  • Core widgets:
    • Watch - Reactive widget that rebuilds on signal changes
    • Obs - Shorthand for Watch widget
    • SignalBuilder - Builder pattern for signal reactivity
    • SignalSelector - Selective rebuilds for performance optimization
    • SignalScope - Route-level state override and dependency injection
  • Consumer pattern (Riverpod-style API):
    • Consumer / ConsumerWidget / ConsumerStatefulWidget
    • SignalRef with watch(), read(), listen() methods
  • Time-based utilities:
    • debounced() - Debounce signal updates
    • throttled() - Throttle signal updates
  • Form validation:
    • SignalField - Form field with validation
    • SignalFieldBuilder - Builder for form fields
    • Validators: requiredValidator, emailValidator, etc.
  • Convenience extensions:
    • Integer: increment(), decrement()
    • Boolean: toggle()
    • List: add(), remove(), clear()
    • Map: set(), remove()
    • Nullable: clear(), orDefault()
    • Transform: modify()
  • Frame synchronization:
    • batch() - Synchronous batching
    • batchLater() - Deferred flush to microtask
    • queueUpdate() - Fully deferred updates
    • FrameBatchScope - Manual control over update queue
  • DevTools integration:
    • VoidSignalsDebugService - Debug service for DevTools
    • .tracked() extension for signal debugging

Performance #

  • Automatic frame synchronization with Flutter lifecycle
  • Multiple rapid updates batched automatically
  • Updates during build phase deferred to next frame
1
likes
140
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter bindings for void_signals - high-performance reactive state management

Repository (GitHub)
View/report issues

Topics

#flutter #reactivity #signals #state-management #performance

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta, void_signals

More

Packages that depend on void_signals_flutter