utopia_hooks 0.4.5+2 copy "utopia_hooks: ^0.4.5+2" to clipboard
utopia_hooks: ^0.4.5+2 copied to clipboard

A comprehensive but flexible state management solution inspired by React Hooks.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add utopia_hooks

With Flutter:

 $ flutter pub add utopia_hooks

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  utopia_hooks: ^0.4.5+2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:utopia_hooks/utopia_hooks.dart';