get_hooks

Last updated:

0 purchases

get_hooks Image
get_hooks Images
Add to Cart

Description:

get hooks

get_hooks #
Get Hooks is a simple package that adds a widget definition for a version of the GetView widget but with the capabilities of a HookWidget.
class AnimatedHookWidget extends GetHookView<HomeController> {
const AnimatedHookWidget({super.key});

@override
Widget build(BuildContext context) {
final animationController = useAnimationController(
duration: const Duration(seconds: 5),
);

final animation = useAnimation(animationController);

animationController.repeat(min: 0, max: 1);

return Transform.rotate(
angle: pi * animation * 2,
child: const FlutterLogo(
size: 100,
),
);
}
}
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.