Inspired by flutter's StatefulBuilder, I tried to make it easier to implement some simple hooks that still depend on the hook lyfecycle (initHook, dispose, etc) by creating the LifecycleHook class. This class is a generic hook that holds state of type T so you can use it to store mostly anything. It's constructor receives functions that will be called whenever the underlying hook's lifecycle functions are called, like a proxy.
forked from ResoCoder/flutter-hooks-fab-animation-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
vitorTheDev/flutter-hooks-fab-animation-tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A fork of the "Flutter Hooks - Hide FAB Animation Tutorial" using a generic hook.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Dart 85.4%
- Kotlin 7.3%
- Swift 6.7%
- Objective-C 0.6%