flutter_trigger 0.1.0
flutter_trigger: ^0.1.0 copied to clipboard
Flutter Widgets(and State Mixin) that use Trigger as the state management, this package is the bridge to use Flutter with Trigger.
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.1.0 - 2026-03-14 #
Added #
- Initial release of
flutter_trigger. TriggerScope: InheritedWidget wrapper for providingTriggerinstances.TriggerWidget: A convenience widget for rebuilding on specificTriggerfield changes.TriggerStateMixin: A mixin forStatefulWidgetto listen toTriggerupdates easily.SelfTriggerWidget: A self-contained widget for local state management.SelfTriggerRegistry: A global registry forSelfTriggerWidgetController.TriggerContextX: Extension onBuildContextto findTriggerinstances from scope or global registry.- Comprehensive
README.mdwith usage examples.
Changed #
- Refactored
SelfTriggerWidgetto useValueNotifierinstead ofStreamControllerfor better performance and simplicity. - Updated dependencies and finalized version
0.1.0. - Removed local path dependency for
triggerpackage in favor of pub version.