AnimationHeightViewWidget<T extends Widget> constructor

AnimationHeightViewWidget<T extends Widget>({
  1. required T pageViewChild,
  2. required double computeAspectRadio(
    1. int? currentIndex
    ),
  3. dynamic notifyScroll(
    1. ScrollNotification scrollNotification
    )?,
  4. required int itemCount,
  5. 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);