flutter_hooks icon indicating copy to clipboard operation
flutter_hooks copied to clipboard

feat: Add `useCarouselController`

Open riscait opened this issue 1 year ago • 5 comments
trafficstars

Thanks for the great package!

I have added CarouselController hooks for use with CarouselView, now available in Flutter 3.24 (stable)!

Implementation and testing was based on usePageController and useSearchController.

Please let me know if anything is missing.

Summary by CodeRabbit

  • New Features

    • Enhanced README documentation for better clarity on Flutter Hooks, including examples and rules for using hooks.
    • Introduced useCarouselController hook for managing carousel functionality, simplifying state management.
  • Bug Fixes

    • Improved documentation on hot-reload behavior and custom hook creation.
  • Tests

    • Added comprehensive tests for the useCarouselController hook, validating its functionality and resource management.

riscait avatar Oct 01 '24 14:10 riscait