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

**Describe the bug** useEffect() with non primitive values used in dependencies causes unwanted side effects. For example a list in a parent component is passed to a child component, which...

enhancement

I've been doing things with Hooks a lot over the past few months, and it's been really fun to learn about the inner mechanisms of flutter_hooks. The goal of this...

Adds a `useSnapshotController` hook for https://api.flutter.dev/flutter/widgets/SnapshotController-class.html ## Summary by CodeRabbit - **New Features** - Introduced a new hook for snapshot management, allowing developers to enable and control snapshot behaviors with...

**Describe the bug** When the callback reference is updated, the `useOnStreamChange` hook doesn't update. ```dart final onDataCallback = useCallback((int data) { print(multiplierValue * data); }, [multiplierValue]); // dependency triggers a...

bug
needs triage