PagingListView<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PagingListView
Constructors
-
PagingListView({Key? key, bool isEnablePullToRefresh = true, StylePullToRefresh stylePullToRefresh = StylePullToRefresh.ANDROID, EdgeInsets padding = EdgeInsets.zero, IndexedWidgetBuilder? separatorBuilder, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, bool? primary, ScrollPhysics? physics, bool shrinkWrap = false, bool addRepaintBoundaries = true, bool addAutomaticKeepAlives = true, bool addSemanticIndexes = true, double? cacheExtent, DragStartBehavior dragStartBehavior = DragStartBehavior.start, ValueChanged? errorWhenLoadMore, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual, required ValueIndexWidgetBuilder<
T> itemBuilder, WidgetBuilder? emptyBuilder, WidgetBuilder? loadingBuilder, ErrorBuilder? errorBuilder, required DataSource<T> pageDataSource})
Properties
- addAutomaticKeepAlives → bool
-
final
- addRepaintBoundaries → bool
-
final
- addSemanticIndexes → bool
-
final
- cacheExtent → double?
-
final
- controller → ScrollController?
-
final
- dragStartBehavior → DragStartBehavior
-
final
- emptyBuilder → WidgetBuilder?
-
Signature for a function that creates a widget empty
finalinherited
- errorBuilder → ErrorBuilder?
-
Signature for a function that creates a widget Error
finalinherited
- errorWhenLoadMore → ValueChanged?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnablePullToRefresh → bool
-
final
-
itemBuilder
→ ValueIndexWidgetBuilder<
T> -
Signature for a function that creates a widget for item
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardDismissBehavior → ScrollViewKeyboardDismissBehavior
-
final
- loadingBuilder → WidgetBuilder?
-
Signature for a function that creates a widget loading
finalinherited
- padding → EdgeInsets
-
final
-
pageDataSource
→ DataSource<
T> -
DataSource for current ScrollView
ListView - GridView
finalinherited - physics → ScrollPhysics?
-
In Android pull to refresh only work
if total height height < height of screen => physics = AlwaysScrollableScrollPhysics
if total height of item > height of screen => physics = BouncingScrollPhysics || AlwaysScrollableScrollPhysics
default physics = AlwaysScrollableScrollPhysics
final
- primary → bool?
-
final
- reverse → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollDirection → Axis
-
final
- separatorBuilder → IndexedWidgetBuilder?
-
final
- shrinkWrap → bool
-
final
- stylePullToRefresh → StylePullToRefresh
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → ListViewState< T> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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