CollectionWidgetState<W extends CollectionWidget<P>, T extends BaseEntity, P> class abstract

Inheritance

Constructors

CollectionWidgetState.new({required ListBloc<T, P> bloc})

Properties

bloc ↔ ListBloc<T, P>
latefinal
colorScheme ColorScheme
no setterinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
deleteAnimation → AnimatedChildBuilder?
no setter
emptyListText String
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
no setterinherited
insertAnimation → AnimatedChildBuilder?
no setter
isLoading bool
no setter
isSearching bool
no setter
listOptions InfiniteListOptions
no setter
loadingText String
no setter
mounted bool
Whether this State object is currently in a tree.
no setterinherited
padding EdgeInsets
no setter
payload → P?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
getter/setter pair
searchingText String
no setter
settings CollectionInput
no setter
textTheme TextTheme
no setterinherited
theme ThemeData
no setterinherited
topBottomAndListSpacing double
no setter
widget → W
The current configuration.
no setterinherited
width double
no setterinherited
wrapInScaffold bool
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
addToList(T item, {int index = 0}) → dynamic
bottomWidget(BuildContext context, ListState<T> state) Widget?
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
collectionWidget(BuildContext context, ListState<T> state) Widget
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
deleteMultipleItems(List<T> items) → dynamic
deselectMultipleItems(List<T> items) → dynamic
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant W oldWidget) → void
Called whenever the widget configuration changes.
inherited
displaySnackBar(BuildContext context, String message, String? title, BlocXSnackbarType snackbarType) → void
inherited
dispose() → void
Called when this object is removed from the tree permanently.
inherited
emptyWidget(BuildContext context, ListState<T> state) Widget
errorWidget(BuildContext context, ScreenManagerCubitStateDisplayErrorPage state) Widget
inherited
initState() → void
Called when this object is inserted into the tree.
override
itemBuilder(BuildContext context, T item) Widget
listWrapperBuilder(BuildContext context, ListState<T> state) Widget
loadingWidget(BuildContext context, ListState<T> state) Widget
loadMoreWidgetBuilder(BuildContext context, bool isLoadingMore) Widget?
loadNextPage() → void
mainWidget(BuildContext context, ScreenManagerCubitState state) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
refreshData() → void
refreshWidgetBuilder(BuildContext context, double swipeRefreshHeight) Widget?
scaffoldWidget(BuildContext context, Widget body) Scaffold
inherited
scrollToItem(T item, {bool highlightItem = false}) → void
separatorBuilder(BuildContext context, int index) Widget
setScrollController() → void
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
sliverWrapperBuilder(BuildContext context, ListState<T> state) Widget
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
topWidget(BuildContext context, ListState<T> state) Widget?
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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