flutter_use_video 0.0.4 copy "flutter_use_video: ^0.0.4" to clipboard
flutter_use_video: ^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.