bind method
LivePageView
bind({
- 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,
- List<
Widget> ? children, - DragStartBehavior? dragStartBehavior,
- bool? allowImplicitScrolling,
- String? restorationId,
- Clip? clipBehavior,
- HitTestBehavior? hitTestBehavior,
- ScrollBehavior? scrollBehavior,
- bool? padEnds,
Implementation
LivePageView bind({
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,
List<Widget>? children,
DragStartBehavior? dragStartBehavior,
bool? allowImplicitScrolling,
String? restorationId,
Clip? clipBehavior,
HitTestBehavior? hitTestBehavior,
ScrollBehavior? scrollBehavior,
bool? padEnds,
}) =>
LivePageView(
page: page ?? this.page,
animate: animate ?? this.animate,
duration: duration ?? this.duration,
curve: curve ?? this.curve,
nextPage: nextPage ?? this.nextPage,
previousPage: previousPage ?? this.previousPage,
isAnimating: isAnimating ?? this.isAnimating,
scrollDirection: scrollDirection ?? this.scrollDirection,
reverse: reverse ?? this.reverse,
physics: physics ?? this.physics,
pageSnapping: pageSnapping ?? this.pageSnapping,
children: children ?? this.children,
dragStartBehavior: dragStartBehavior ?? this.dragStartBehavior,
allowImplicitScrolling:
allowImplicitScrolling ?? this.allowImplicitScrolling,
restorationId: restorationId ?? this.restorationId,
clipBehavior: clipBehavior ?? this.clipBehavior,
hitTestBehavior: hitTestBehavior ?? this.hitTestBehavior,
scrollBehavior: scrollBehavior ?? this.scrollBehavior,
padEnds: padEnds ?? this.padEnds,
);