PagedPageView<PageKeyType, T extends PagingItem> class

Paged PageView with progress and error indicators displayed as the last item.

Similar to a PageView. Useful for combining another paged widget with a page view with details.

Inheritance

Constructors

PagedPageView({required PagedChildBuilderDelegate<T> builderDelegate, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, bool addSemanticIndexes = true, bool allowImplicitScrolling = false, String? restorationId, PageController? pageController, ScrollBehavior? scrollBehavior, Axis scrollDirection = Axis.horizontal, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, bool reverse = false, ScrollPhysics? physics, void onPageChanged(int)?, bool pageSnapping = true, bool padEnds = true, bool shrinkWrapFirstPageIndicators = false, PagedChildStatusBuilderDelegate<PagingItem>? statusBuilderDelegate, required PagingDataController<dynamic, PagingItem> pagingDataController, bool? persistent, bool? forceUseInitData, Key? key})
const

Properties

addAutomaticKeepAlives bool
Matches SliverChildBuilderDelegate.addAutomaticKeepAlives.
final
addRepaintBoundaries bool
Matches SliverChildBuilderDelegate.addRepaintBoundaries.
final
addSemanticIndexes bool
Matches SliverChildBuilderDelegate.addSemanticIndexes.
final
allowImplicitScrolling bool
Matches PageView.allowImplicitScrolling.
final
builderDelegate PagedChildBuilderDelegate<T>
Matches PagedLayoutBuilder.builderDelegate.
final
clipBehavior Clip
Matches PageView.clipBehavior.
final
dragStartBehavior DragStartBehavior
Matches PageView.dragStartBehavior.
final
forceUseInitData bool?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPageChanged → void Function(int)?
Matches PageView.onPageChanged.
final
padEnds bool
Matches PageView.padEnds.
final
pageController PageController?
Matches PageView.controller.
final
pageSnapping bool
Matches PageView.pageSnapping.
final
pagingDataController PagingDataController<dynamic, PagingItem>
final
persistent bool?
final
physics ScrollPhysics?
Matches PageView.physics.
final
restorationId String?
Matches PageView.restorationId.
final
reverse bool
Matches PageView.reverse.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior ScrollBehavior?
Matches PageView.scrollBehavior.
final
scrollDirection Axis
Matches PageView.scrollDirection.
final
shrinkWrapFirstPageIndicators bool
Matches PagedLayoutBuilder.shrinkWrapFirstPageIndicators.
final
statusBuilderDelegate PagedChildStatusBuilderDelegate<PagingItem>?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited