PagewiseGridView<T> class

Inheritance

Constructors

PagewiseGridView.count({Key? key, EdgeInsetsGeometry? padding, required int crossAxisCount, double childAspectRatio = 1.0, double crossAxisSpacing = 0.0, double mainAxisSpacing = 0.0, bool addSemanticIndexes = true, int? semanticChildCount, bool? primary, bool shrinkWrap = false, ScrollController? controller, PagewiseLoadController<T>? pageLoadController, bool addAutomaticKeepAlives = true, Axis scrollDirection = Axis.vertical, bool addRepaintBoundaries = true, double? cacheExtent, ScrollPhysics? physics, bool reverse = false, int? pageSize, PageFuture<T>? pageFuture, LoadingBuilder? loadingBuilder, RetryBuilder? retryBuilder, NoItemsFoundBuilder? noItemsFoundBuilder, bool showRetry = true, required ItemBuilder<T> itemBuilder, ErrorBuilder? errorBuilder})
Creates a Pagewise GridView with a crossAxisCount.
PagewiseGridView.extent({Key? key, EdgeInsetsGeometry? padding, required double maxCrossAxisExtent, double childAspectRatio = 1.0, double crossAxisSpacing = 0.0, double mainAxisSpacing = 0.0, bool addSemanticIndexes = true, int? semanticChildCount, bool? primary, bool shrinkWrap = false, ScrollController? controller, PagewiseLoadController<T>? pageLoadController, bool addAutomaticKeepAlives = true, Axis scrollDirection = Axis.vertical, bool addRepaintBoundaries = true, double? cacheExtent, ScrollPhysics? physics, bool reverse = false, int? pageSize, PageFuture<T>? pageFuture, LoadingBuilder? loadingBuilder, RetryBuilder? retryBuilder, NoItemsFoundBuilder? noItemsFoundBuilder, bool showRetry = true, required ItemBuilder<T> itemBuilder, ErrorBuilder? errorBuilder})
Creates a Pagewise GridView with a maxCrossAxisExtent.

Properties

builder PagewiseBuilder<T>
The actual builder that builds the Pagewise widget. It is called and provided the PagewiseState. This function is important only for classes extending Pagewise. See PagewiseListView and PagewiseGridView for examples.
finalinherited
errorBuilder ErrorBuilder?
Called with an error object if an error occurs when loading the page
finalinherited
hashCode int
The hash code for this object.
no setterinherited
itemBuilder ItemBuilder<T>
Called to build each entry in the view.
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingBuilder LoadingBuilder?
Called when loading each page.
finalinherited
noItemsFoundBuilder NoItemsFoundBuilder?
Called when no items are found
finalinherited
pageFuture PageFuture<T>?
Called whenever a new page (or batch) is to be fetched
finalinherited
pageLoadController PagewiseLoadController<T>?
The controller that controls the loading of pages.
finalinherited
pageSize int?
The number of entries per page
finalinherited
retryBuilder RetryBuilder?
Called when a page fails to load and showRetry is set to true.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showRetry bool
Whether to show a retry button when page fails to load.
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() PagewiseState<T>
Creates the mutable state for this widget at a given 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}) 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