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