LivePageView constructor
const
LivePageView({
- 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 = Axis.horizontal,
- bool reverse = false,
- ScrollPhysics? physics,
- bool pageSnapping = true,
- List<
Widget> children = const <Widget>[], - DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool allowImplicitScrolling = false,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
- HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
- ScrollBehavior? scrollBehavior,
- bool padEnds = true,
Implementation
const LivePageView({
super.key,
required this.page,
this.animate,
this.duration,
this.curve,
this.nextPage,
this.previousPage,
this.isAnimating,
this.scrollDirection = Axis.horizontal,
this.reverse = false,
this.physics,
this.pageSnapping = true,
this.children = const <Widget>[],
this.dragStartBehavior = DragStartBehavior.start,
this.allowImplicitScrolling = false,
this.restorationId,
this.clipBehavior = Clip.hardEdge,
this.hitTestBehavior = HitTestBehavior.opaque,
this.scrollBehavior,
this.padEnds = true,
});