NUIAnimatedListState<T, C, V extends NUIAnimatedListInterface<T, C>> class abstract

Inheritance
Implementers

Constructors

NUIAnimatedListState()

Properties

actionHandler NUIListViewParentHandler
getter/setter pair
animateDuration Duration
getter/setter pair
atBottom bool
getter/setter pair
atTop bool
getter/setter pair
bloc NUIListViewBloc<T, C>?
getter/setter pair
checkedMap Map<String, dynamic>
getter/setter pair
configMap Map<String, dynamic>
getter/setter pair
context BuildContext
The location in the tree where this widget builds.
no setterinherited
controller NUIListController
getter/setter pair
curModel NUIListViewModel<T, C>
getter/setter pair
firstTime bool
getter/setter pair
fixedFirstItem → dynamic
no setter
fixedLastItem → dynamic
no setter
hashCode int
The hash code for this object.
no setterinherited
instanceId String
final
itemAnimation NUIListItemAnimation?
getter/setter pair
items List
final
listKey GlobalKey<AnimatedListState>
final
modelChanged bool
no setter
mounted bool
Whether this State object is currently in a tree.
no setterinherited
offset double
getter/setter pair
pagination PaginationLoad
final
prevModel NUIListViewModel<T, C>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sliverListKey GlobalKey<SliverAnimatedListState>
final
swipeRefresh SwipeRefresh
final
toUseShade NUIShaderMaskType
getter/setter pair
widget → V
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
addItem(dynamic data) → void
addItemAt(dynamic data, int position) → void
addItems(List newItems, {bool reassemble = false, bool append = true}) Future<bool>
additionalScrollListener(ScrollMetrics metrics) → void
addPaginationIfNotAdded() → void
animateItem(BuildContext context, int index, dynamic animation) Widget
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildList({Widget? otherView}) Widget
buildStreamBuilder() Widget
clearItems() bool
customScroll() bool
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant V oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
endDivider() double
fadeItem(BuildContext context, dynamic data, int index, dynamic animation, {Widget? child}) Widget
getErrorHolder(NUIListViewModel<T, C> listModel) Widget?
getItem(int position) → dynamic
getListView(int initialCount) Widget
getListViewBuilder({Widget? otherView}) Widget
getParentList(int initialCount, Widget innerList) Widget?
getPlaceHolder() Widget?
hasSkeletalLoad() bool
initState() → void
Called when this object is inserted into the tree.
override
middleDivider() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPaginationLoad({required bool isFirst, C? cursor}) → void
onScroll(ScrollMetrics metrics) → void
onSkeletalLoad() → void
onSwipeRefresh() → void
orientation() Axis
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
refreshController() → RefreshController
reload() → void
removeItem(dynamic data) → void
removeItemAt(int position) → void
removeItemByID(Type classType, String id) → void
renderItem(BuildContext context, int index) Widget
renderListItem(dynamic data, int position, dynamic animation) Widget
renderPaginate(int position) Widget?
renderSkeletal(int position) Widget?
repo() NUIListItemRepository
scaleItem(BuildContext context, dynamic data, int index, dynamic animation, {Widget? child}) Widget
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
sizeItem(BuildContext context, dynamic data, int index, dynamic animation, {Widget? child}) Widget
slideItem(BuildContext context, dynamic data, int index, dynamic animation, {Widget? child}) Widget
startDivider() double
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
updateItems() → void
updateList() Widget
wrapWithPadding(int position, Widget child, {double? additionalPadding}) Widget

Operators

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