hook_state 0.2.0 copy "hook_state: ^0.2.0" to clipboard
hook_state: ^0.2.0 copied to clipboard

A Flutter package inspired by React hooks and the `flutter_hooks` package. It offers a similar hooks experience but without the need for additional widgets, allowing you to use just `StatefulWidget` t [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add hook_state

With Flutter:

 $ flutter pub add hook_state

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

dependencies:
  hook_state: ^0.2.0

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:hook_state/hook_state.dart';
8
likes
0
pub points
59%
popularity

Publisher

verified publisherflutterando.com.br

A Flutter package inspired by React hooks and the `flutter_hooks` package. It offers a similar hooks experience but without the need for additional widgets, allowing you to use just `StatefulWidget` to manage complex states declaratively and reactively.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on hook_state