flutter_hooks icon indicating copy to clipboard operation
flutter_hooks copied to clipboard

React hooks for Flutter. Hooks are a new kind of object that manages a Widget life-cycles. They are used to increase code sharing between widgets and as a complete replacement for StatefulWidget.

Results 54 flutter_hooks issues
Sort by recently updated
recently updated
newest added
trafficstars

If flutter_hooks could abstract over its dependencies to the flutter framework for scheduling, we could drop in a different scheduling engine and use the hooks also outside of Widget trees.

enhancement

Gesture recognizers need to be disposed. Hooks for them would make using them correctly really simple. I'm creating this issue to track which gesture recognizers still need a hook and...

enhancement

**Describe what scenario you think is uncovered by the existing examples/articles** I want to use other hook in class hook. **Describe why existing examples/articles do not cover this case** I...

bug

I'm in need of a RouteAware hook for a HookWidget to observer for route changes and make state updates. This would be a good tutorial/example of what some of use...

enhancement

**Is your feature request related to a problem? Please describe.** It's cumbersome to manually create desktop effects for the mouse cursor. We need to either use a StatefulWidget w/ MouseRegion...

enhancement

The current example shows the creation of a AnimController, but doesn't show you how to use it. Assuming you want to actually start it, you need some sort of init()...

documentation

useAnimationController would be more useful if it included: * Ability to auto-play forward or back, or a callback that lets us kick off the animation * Ability to delay the...

enhancement

one common action in flutter is to extract widget into functions when it gets very large: from: ```dart return Scaffold( body: Column( children: [ // header, // content // footer...

documentation

Hi, There is a [state restoration](https://flutter.dev/go/state-restoration-design) facility upcoming to flutter. Will `flutter_hooks` be compatible with it?

enhancement