BlowePaginationListView<B extends BlowePaginationBloc<BlowePaginationModel<T>, P>, T, P, G> class

A widget that displays a paginated list of items using a BlowePaginationBloc. It handles loading, error, and completed states of the BlowePaginationBloc.

Inheritance

Constructors

BlowePaginationListView({required BlowePaginationListViewItemBuilder<T> itemBuilder, required BloweFetchParamsProvider<P> paramsProvider, Widget? emptyWidget, Widget? startWidget, Widget? endWidget, EdgeInsetsGeometry? padding, BloweItemFilter<T>? filter, BloweItemGrouper<T, G>? groupBy, BloweGroupHeaderBuilder<T, G>? groupHeaderBuilder, BlowePaginationErrorBuilder? errorBuilder, bool onRefreshEnabled = true, B? bloc, bool shrinkWrap = false, Key? key})
Creates an instance of BlowePaginationListView.
const

Properties

bloc → B?
The bloc to use for the list view.
final
emptyWidget Widget?
A widget to display when the list is empty.
final
endWidget Widget?
A widget to display at the end of the list.
final
errorBuilder BlowePaginationErrorBuilder?
Optional builder function to create a custom error widget.
final
filter BloweItemFilter<T>?
Optional function to filter items in the list.
final
groupBy BloweItemGrouper<T, G>?
Optional function to group items in the list.
final
groupHeaderBuilder BloweGroupHeaderBuilder<T, G>?
Optional builder function to create group headers.
final
hashCode int
The hash code for this object.
no setterinherited
itemBuilder BlowePaginationListViewItemBuilder<T>
The builder function to create list items.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onRefreshEnabled bool
Indicates if the refresh functionality is enabled.
final
padding EdgeInsetsGeometry?
Optional padding for the list view.
final
paramsProvider BloweFetchParamsProvider<P>
A function that provides parameters for the BloweFetch event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shrinkWrap bool
Indicates if the list view should shrink-wrap its contents.
final
startWidget Widget?
A widget to display at the start of the list.
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}) 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