flutter_use 0.0.4 copy "flutter_use: ^0.0.4" to clipboard
flutter_use: ^0.0.4 copied to clipboard

Collection of Flutter Hooks.

flutter_use

flutter_lints
Inspired by react-use.



flutter pub add flutter_use

  • Sensors

  • UI

  • Animations

  • Side-effects

  • Lifecycles

  • State

  • TBD
    • useCopyToClipboard — copies text to clipboard.
    • useEvent — subscribe to events.
    • useScroll — tracks a widget's scroll position.
    • useScrolling — tracks whether widget is scrolling.
    • useFullscreen — display an element or video full-screen.
    • useClickAway— triggers callback when user clicks outside target area.
    • usePageLeave — triggers when mouse leaves page boundaries.
    • usePermission — query permission status for apps APIs.
    • useMethods — neat alternative to useReducer.
    • useSetState — creates setState method which works like this.setState.
    • usePromise — resolves promise only while component is mounted.
    • useObservable — tracks latest value of an Observable.
    • useThrottle and useThrottleFn — throttles a function.



Unlicense — public domain.



73
likes
140
points
1.79k
downloads

Publisher

verified publisherwasabeef.jp

Weekly Downloads

Collection of Flutter Hooks.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Unlicense (license)

Dependencies

flutter, flutter_hooks

More

Packages that depend on flutter_use