solidart_hooks 1.0.0+1
solidart_hooks: ^1.0.0+1 copied to clipboard
Flutter Hooks bindings for Solidart, suitable for ephemeral state and for writing less boilerplate.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add solidart_hooks
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
solidart_hooks: ^1.0.0+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:solidart_hooks/solidart_hooks.dart';