material_hooks library

Hooks for package:material_ui, to use alongside package:flutter_hooks.

Functions

useCarouselController({int initialItem = 0, List<Object?>? keys}) → CarouselController
Creates a CarouselController that will be disposed automatically.
useSearchController({List<Object?>? keys}) → SearchController
Creates a SearchController that will be disposed automatically.
useTabController({required int initialLength, Duration? animationDuration = kTabScrollDuration, TickerProvider? vsync, int initialIndex = 0, List<Object?>? keys}) → TabController
Creates a TabController that will be disposed automatically.