Skip to content
pubscout

flutter_use

1.0.0, released a year ago by wasabeef.jp

Collection of 36 production-ready Flutter hooks inspired by react-use.

WASM-ready
$ flutter pub add flutter_use
Source repository

What it does

Provides a comprehensive collection of Flutter hooks for async operations, form management, UI interactions, state management, and device sensors. It aims to simplify common lifecycle and state logic in flutter_hooks-based applications.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are using flutter_hooks in your project and need common hooks for async, forms, or UI state.
  • You want to manage timers, debounces, or throttling declaratively inside widgets.
  • You need modular hooks for accessing device info, sensors, or media.

Skip it when

  • Your project does not use flutter_hooks.
  • You prefer traditional StatefulWidget or ChangeNotifier approaches for state management.

Strengths

  • Extensive collection of 36 production-ready hooks.
  • Includes form management and validation out of the box.
  • Modular companion packages available for specific device features and sensors.

Weaknesses

  • Strictly tied to the flutter_hooks ecosystem.
  • Some platform features require additional setup of underlying third-party plugins.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add flutter_use and flutter_hooks to your pubspec.yaml. Specialized packages like flutter_use_audio or flutter_use_geolocation require their respective underlying packages (e.g., just_audio, geolocator).

final state = useAsync(() => fetchSomething());

Alternatives

Packages that do the same job and could replace flutter_use.

  • yx_state

    A state management library for Dart and Flutter applications.

  • bloc_tools

    Command-line tools for generating and linting bloc and cubit components.

  • refena

    A state management and dependency injection library inspired by Riverpod and async_redux.

  • cached_query

    Library for caching, background fetching, and managing server state in Dart and Flutter.

Works with

Packages commonly used together with flutter_use: ones it builds on, ones built on it, and its own family.