life_hooks

Last updated:

0 purchases

life_hooks Image
life_hooks Images
Add to Cart

Description:

life hooks

Simplifies flutter_hook creation with several helper classes and widgets.
See example below:
SettingsState useSettingsState({
required final ScreenLayout screenLayout,
}) =>
use(
LifeHook(
debugLabel: 'SettingsState',
state: SettingsState(
screenLayout: screenLayout,
),
),
);

class SettingsState extends LifeState {
SettingsState({
required this.screenLayout,
});
final ScreenLayout screenLayout;

@override
void initState() {}

@override
void dispose() {}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.