flutter_hooks 0.1.0 copy "flutter_hooks: ^0.1.0" to clipboard
flutter_hooks: ^0.1.0 copied to clipboard

outdated

A flutter implementation of React hooks. It adds a new kind of widget with enhanced code reuse.

0.1.0: #

  • useMemoized callback doesn't take the previous value anymore (to match React API) Use useValueChanged instead.
  • Introduced useEffect and useStreamController
  • fixed a bug where hot-reload while reordering/adding hooks did not work properly
  • improved readme

0.0.1: #

Added a few common hooks:

  • useStream
  • useFuture
  • useAnimationController
  • useSingleTickerProvider
  • useListenable
  • useValueListenable
  • useAnimation

0.0.0: #

  • initial release
2211
likes
0
pub points
99%
popularity

Publisher

verified publisherdash-overflow.net

A flutter implementation of React hooks. It adds a new kind of widget with enhanced code reuse.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_hooks