get_hooked 0.5.5
get_hooked: ^0.5.5 copied to clipboard
State management with Listenables and Hooks! Inspired by hooks_riverpod and get_it.
0.5.5 #
ClippedDecorationbugfix
0.5.4 #
- Improve
RefLayoutperformance:layoutRectonly setsparentUsesSizewhen the parent queried the child's size - Document that each
RefLayoutchild should be laid out once
0.5.3 #
- Add
isRepaintBoundarytoRefPaint - Improve
RefAlignperformance - Ensure that
RefPaintis updated properly
0.5.2 #
- Update
RefElement/ compute elements so they correctly compile for web (DDC/dart2js) - Fix
RefElementunmount cleanup so all subscriptions are cleared - Update
RefPaintso it can subscribe to listenables after the first paint
0.5.1 #
- Remove a few unused files
- Also just a sanity check since I'm not 100% sure 0.5.0 was published correctly
0.5.0 #
- Replace
ScopedGetwithListenablePlaceholder(lenient + strict modes) - New widgets:
RefAspectRatio,RefShaderMask VsyncDouble.toggler/GetVsyncDouble.togglerfor simple bool-driven animations- Fix
ref.watchsubscriptions after hot reload / reassemble (animations no longer freeze) - Fix
RefLayouthit-testing so gesturelocalPositionaccounts for paint offsets - Small
GetScope/VsyncDoublebehavior cleanups
0.4.0 #
- Rewrote many (most?) of the APIs
- I thought about maybe getting an agent to hallucinate a detailed list here, but it probably wouldn't be helpful
0.3.0 #
- Add disclaimer to README :)
- Decided that
RenderHookElementis too convoluted :)- API has been reworked into
RefPaint
- API has been reworked into
- A bunch of benchmarking!
RenderGet: a flexible, super-performant render object widget- Remove "arbitrary
context" vsync mode - Migrate
AsyncNotifierto riverpod'sAsyncValueclass - Add
ComputeRef/ComputedNotifier
0.2.2 #
- Small optimization for
RenderHookElement: no longer performs a redundant equality check forRef.watch()calls- The
_ValueListenableHookclass has been factored out, for the same reason.
- The
0.2.1 #
- Lots of documentation added!
- Introduced a
ScopedGetAPI, for objects that should only be accessed via scoping. - Tweaked
RenderHookElementto properly respond to Hot Reload. - Fixed a pinned dependency since pub.flutter-io.cn was mad :(
0.2.0 #
RenderHookElement- A new Hook class that allows re-rendering widgets while skipping the build phase entirely!
- 2 widgets implemented so far:
HookDecoration, similar to DecoratedBox but can render with aClipbehaviorHookPaint, a variation of CustomPaint that doesn't require an additional class declaration
- Fixed various bugs I'd previously introduced…
now I just need to add a bunch of missing documentation :)
0.1.0 #
- Scoping!
- It bothered me to just not have this feature :)
- Plus, now the
Refclass is actually more than just a namespace!
- In-house hooks!
- New API needs 1 class declaration instead of 2
- No need for list equality, thanks to
Recordtypes!
- Proxies!
- Multiple values can be combined into a single Get object…
- and multiple values can be combined using a
Ref.select()hook.
- Almost certainly introduced one or more bugs, plus there are many Hooks that I have yet to add :)
0.0.2 #
- Grinding out those pub points!
- Fix a syntax error (
AnimationController.repeatdoesn't have acountparam in stable yet) - Make pubspec description >= 60 chars
- The fancy images weren't showing up… not sure if it's a security thing or if it was the syntax I used, but regardless I decided to split the README into a "GitHub-optimized version" and a "pub.flutter-io.cn version"
- Fix a syntax error (
0.0.1 #
- Initial release!
- Introduce several cool new APIs:
GetUseVsyncAsyncNotifierProxyNotifierValueAnimation
- …and other new APIs which aren't quite as cool.