HeightLightPageView constructor
HeightLightPageView(
- {Key? key,
- required _HeightLightItemBuilder itemBuilder,
- required _HeightLightConfigFunction storyLength,
- required int pageLength,
- _HeightLightItemBuilder? gestureItemBuilder,
- _HeightLightConfigFunction? initialStoryIndex,
- int initialPage = 0,
- VoidCallback? onPageLimitReached,
- Duration indicatorDuration = const Duration(seconds: 5),
- EdgeInsetsGeometry indicatorPadding = const EdgeInsets.symmetric(vertical: 32, horizontal: 8),
- Color backgroundColor = Colors.black,
- ValueNotifier<
IndicatorAnimationCommand> ? indicatorAnimationController}
Implementation
HeightLightPageView({
Key? key,
required this.itemBuilder,
required this.storyLength,
required this.pageLength,
this.gestureItemBuilder,
this.initialStoryIndex,
this.initialPage = 0,
this.onPageLimitReached,
this.indicatorDuration = const Duration(seconds: 5),
this.indicatorPadding =
const EdgeInsets.symmetric(vertical: 32, horizontal: 8),
this.backgroundColor = Colors.black,
this.indicatorAnimationController,
}) : super(key: key);