Flutter Gems is a curated list of 6000+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter Hooks packages

Last updated: November 15, 2024

Hooks were a concept introduced in React framework that lets you use state and other React features without writing a class.

It has been also implemented in Flutter and allows you to split one component into smaller functions based on what pieces of state you need. For example, instead of having a component with a username and password state, you can have a useUsername() hook and a usePassword() hook.

Hooks also allow you to reuse stateful logic between components. For example, if you have a useFetch() hook that fetches data from an API, you can use it in any component without having to duplicate the code.

Hooks are a great way to improve your code reusability and make your components more readable. The complete list of Flutter Hooks implementation packages is provided below.


flutter_hooks
Dart 3 compatible 👍 2.2K
Maintenance Status: Good

A flutter implementation of React hooks. It adds a new kind of widget with enhanced code reuse.

hooks_riverpod
Dart 3 compatible 👍 857
Maintenance Status: Good

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

hooked_bloc
Dart 3 compatible 👍 84
Maintenance Status: Good

Flutter package that simplifies injection and usage of Bloc/Cubit.

stacked_hooks
Dart 3 compatible 👍 67
Maintenance Status: Good

Classes that help you make use of hooks when using the stacked package

flutterlifecyclehooks
Dart 3 compatible 👍 51
Maintenance Status: Good

A flutter package that let you easily add hooks for application lifecycle state

flutter_hooks_bloc
Dart 3 compatible 👍 34
Maintenance Status: Good

A flutter_bloc reimplementation based on flutter_hooks with the same API.

flutter_use
Dart 3 compatible 👍 71
Maintenance Status: Average

Collection of Flutter Hooks.

flutter_use_sensors
Dart 3 compatible 👍 3
Maintenance Status: Average

Collection of Flutter Hooks for Sensors.

flutter_use_audio
Dart 3 compatible 👍 2
Maintenance Status: Average

Collection of Flutter Hooks for Audio.

flutter_use_network_state
Dart 3 compatible 👍 1
Maintenance Status: Average

Collection of Flutter Hooks for Network State.

flutter_use_video
Dart 3 compatible 👍 0
Maintenance Status: Average

Collection of Flutter Hooks for Video.

flutter_use_geolocation
Dart 3 compatible 👍 0
Maintenance Status: Average

Collection of Flutter Hooks for Geolocation.

flutter_use_battery
Dart 3 compatible 👍 0
Maintenance Status: Average

Collection of Flutter Hooks for Battery.

reactives
Dart 3 compatible 👍 44
Maintenance Status: Poor

A new way to extract/group/reuse common logic of StatefulWidget. Think of them like React hooks but for and of flutter.