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

Flutter offer multiple Tween classes. A common use-case it to use them to tween between a previous and new value through `didUpdateWidget`. Through hooks, this can be automated into a...

enhancement

Hello, I love hooks and I love Flutter. I want to make hooks the de-facto way we write widgets in Flutter, so I want to lower the barrier to entry...

documentation

dear all, but now, my solution is to return a function, which whenever called, will send event, eg: debounce event and i think the is not the best solution, any...

documentation
needs triage

**Is your feature request related to a problem? Please describe.** Having a big and complicated screen, that is optimised using `useValueNotifier` instead of `useState`, often there is a need to...

enhancement

Hello, The doc of [useTextEditingController](https://pub.dev/documentation/flutter_hooks/latest/flutter_hooks/useTextEditingController-constant.html) suggests using `useEffect` to update the TextEditingController.text whenever a provided ValueListenable changes. But, When the provided ValueListenable updates the TextEditingController.text for the second time it'll...

documentation

**Describe the bug** FutureProvider ref.watch automatically calling itself **To Reproduce** Check the screenshot **Expected behavior** wait until it's get called

bug
needs triage

Added useDraggableScrollableController with tests Didn't edit readme or changelog Lmk if you want the tests changed

**Is your feature request related to a problem? Please describe.** There is no hook for the DraggableScrollableController **Describe the solution you'd like** a hook for the DraggableScrollableController **Describe alternatives you've...

enhancement
help wanted
good first issue

If this PR is merged, I will group all of them into a single file, making the repo cleaner.

**Is your feature request related to a problem? Please describe.** Basically, I have a complicated [_Widget_] which uses [_didChangeDependencies_] to update state intricately. This involves animations, and with it, comes...

enhancement