SunnyListBaseState<T> class abstract

Inheritance
Implementers

Constructors

SunnyListBaseState()

Properties

context BuildContext
The location in the tree where this widget builds.
no setterinherited
debugName String
no setter
diffDelegator → DiffEquality
no setter
disposers List<DisposeFn>
finalinherited
disposing bool
Used because cancelling a future returns a Future and we want to drop any updates while we're disposing.
getter/setter pair
globalKey GlobalKey<State<StatefulWidget>>?
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSwipeActions bool
no setter
isDisplayed bool
no setter
isDisposing bool
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
itemBuilder ListTileBuilder<T>
no setter
keyToIndex Map<Key, int>
getter/setter pair
log → Logger
no setterinherited
loggerName String
no setteroverride
mounted bool
Whether this State object is currently in a tree.
no setterinherited
pageError Object?
getter/setter pairinherited
rebuilds int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair
stateCounter int
finalinherited
stateId String
no setterinherited
subscriptions List<StreamSubscription>
finalinherited
trackedList List<T>?
no setter
useStateTracker bool
no setter
widget SunnyList<T>
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
asyncState(AsyncCallback callback) Future
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
buildCompleteItem(BuildContext context, int idx, Animation<double> animation) Widget
buildItem(BuildContext context, int idx, T item, Animation<double> animation) Widget
buildKey(int index, T item) Key
Builds a unique key for each list item that will be attached during the build process
calculateKeys() → void
childKey(String name) Key
inherited
createFocusNode({String? debugLabel, bool watch = false}) FocusNode
inherited
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 SunnyList<T> oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
disposeObservations() Future
Synchronizes this widget's state to a SingleValue observable. This assumes that the value contained within observable is already being read by the widget builder, and this just ensures that setState is called each time observable is mutated.
inherited
initState() → void
Called when this object is inserted into the tree.
override
insertItem(State<StatefulWidget>? state, int? index, T itemToInsert) → void
listen(ChangeNotifier notifier, VoidCallback listener) → void
inherited
logged<R>(R block(), {String? debugLabel, bool propagate = false}) → R?
inherited
moveItem(State<StatefulWidget> state, int fromIndex, int toIndex, T itemToMove) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNotFound(BuildContext context, int index, Animation<double> animation) Widget
onObserve({dynamic name}) → void
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
registerDisposer(DisposeFn dispose) → void
inherited
removeDisposer(DisposeFn dispose) → void
inherited
removeItem(State<StatefulWidget>? state, int? index, T itemToRemove) → void
safeState([VoidCallback? callback]) → void
inherited
scrollController() ScrollController
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
showKeyboard(BuildContext context) → void
inherited
stream<T>(Stream<T> stream, [void listen(T next)?]) → void
inherited
streamText(Stream<String> stream) TextEditingController
inherited
streamTextEdit(TextEditingController cont, [StreamController<String>? controller]) Stream<String>
inherited
subscribe<T>(StreamController<T> controller, void listen(T next)) → void
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.
override
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
tryGetKey(int index, T item) String?
trying(AsyncCallback fn) Future
inherited
updateItem(State<StatefulWidget> state, int index, T oldItem, T newItem) → void
watchFocusNode(FocusNode focusNode) → void
inherited

Operators

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