LivePageView.builder constructor
const
LivePageView.builder({
- Key? key,
- required MutableCell<
int> page, - ValueCell<
bool> ? animate, - ValueCell<
Duration> ? duration, - ValueCell<
Curve> ? curve, - ValueCell<
void> ? nextPage, - ValueCell<
void> ? previousPage, - MetaCell<
bool> ? isAnimating, - Axis scrollDirection,
- bool reverse,
- ScrollPhysics? physics,
- bool pageSnapping,
- required Widget? itemBuilder(),
- int? findChildIndexCallback()?,
- int? itemCount,
- DragStartBehavior dragStartBehavior,
- bool allowImplicitScrolling,
- String? restorationId,
- Clip clipBehavior,
- HitTestBehavior hitTestBehavior,
- ScrollBehavior? scrollBehavior,
- bool padEnds,
Implementation
const factory LivePageView.builder({
Key? key,
required MutableCell<int> page,
ValueCell<bool>? animate,
ValueCell<Duration>? duration,
ValueCell<Curve>? curve,
ValueCell<void>? nextPage,
ValueCell<void>? previousPage,
MetaCell<bool>? isAnimating,
Axis scrollDirection,
bool reverse,
ScrollPhysics? physics,
bool pageSnapping,
required Widget? Function(
BuildContext,
int,
) itemBuilder,
int? Function(Key)? findChildIndexCallback,
int? itemCount,
DragStartBehavior dragStartBehavior,
bool allowImplicitScrolling,
String? restorationId,
Clip clipBehavior,
HitTestBehavior hitTestBehavior,
ScrollBehavior? scrollBehavior,
bool padEnds,
}) = _LivePageView$builder;