CellPageView constructor
const
CellPageView({
- Key? key,
- required MutableCell<
int> page, - ValueCell<
bool> ? animate, - ValueCell<
Duration> ? duration, - ValueCell<
Curve> ? curve, - ValueCell<
void> ? nextPage, - ValueCell<
void> ? previousPage, - MetaCell<
bool> ? isAnimating, - ValueCell<
Axis> scrollDirection = const ValueCell.value(Axis.horizontal), - ValueCell<
bool> reverse = const ValueCell.value(false), - ValueCell<
ScrollPhysics?> ? physics, - ValueCell<
bool> pageSnapping = const ValueCell.value(true), - ValueCell<
List< children = const ValueCell.value(const <Widget>[]),Widget> > - ValueCell<
DragStartBehavior> dragStartBehavior = const ValueCell.value(DragStartBehavior.start), - ValueCell<
bool> allowImplicitScrolling = const ValueCell.value(false), - ValueCell<
String?> ? restorationId, - ValueCell<
Clip> clipBehavior = const ValueCell.value(Clip.hardEdge), - ValueCell<
HitTestBehavior> hitTestBehavior = const ValueCell.value(HitTestBehavior.opaque), - ValueCell<
ScrollBehavior?> ? scrollBehavior, - ValueCell<
bool> padEnds = const ValueCell.value(true),
Implementation
const CellPageView({
super.key,
required this.page,
this.animate,
this.duration,
this.curve,
this.nextPage,
this.previousPage,
this.isAnimating,
this.scrollDirection = const ValueCell.value(Axis.horizontal),
this.reverse = const ValueCell.value(false),
this.physics,
this.pageSnapping = const ValueCell.value(true),
this.children = const ValueCell.value(const <Widget>[]),
this.dragStartBehavior = const ValueCell.value(DragStartBehavior.start),
this.allowImplicitScrolling = const ValueCell.value(false),
this.restorationId,
this.clipBehavior = const ValueCell.value(Clip.hardEdge),
this.hitTestBehavior = const ValueCell.value(HitTestBehavior.opaque),
this.scrollBehavior,
this.padEnds = const ValueCell.value(true),
});