AnimationHeightViewWidget<T extends Widget> constructor
AnimationHeightViewWidget<T extends Widget> ({
- required T pageViewChild,
- required double computeAspectRadio(
- int? currentIndex
- dynamic notifyScroll(
- ScrollNotification scrollNotification
- required int itemCount,
- int? currentPageIndex,
Implementation
AnimationHeightViewWidget(
{required this.pageViewChild,
required this.computeAspectRadio,
this.notifyScroll,
required this.itemCount,
this.currentPageIndex})
: assert(pageViewChild != null),
assert(computeAspectRadio != null),
assert(itemCount > 0);