get_hooked 0.3.0
get_hooked: ^0.3.0 copied to clipboard
Shared state with flutter_hooks! Inspired by riverpod and get_it.
0.3.0 #
- Add disclaimer to README :)
- Decided that
RenderHookElement
is 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
AsyncNotifier
to riverpod'sAsyncValue
class - Add
ComputeRef
/ComputedNotifier
0.2.2 #
- Small optimization for
RenderHookElement
: no longer performs a redundant equality check forRef.watch()
calls- The
_ValueListenableHook
class has been factored out, for the same reason.
- The
0.2.1 #
- Lots of documentation added!
- Introduced a
ScopedGet
API, for objects that should only be accessed via scoping. - Tweaked
RenderHookElement
to 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 aClip
behaviorHookPaint
, 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
Ref
class 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
Record
types!
- 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.repeat
doesn't have acount
param 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:
Get
Use
Vsync
AsyncNotifier
ProxyNotifier
ValueAnimation
- …and other new APIs which aren't quite as cool.