SunnyGridState<T> class

Inheritance

Constructors

SunnyGridState({required double mainAxisSpacing, required double crossAxisSpacing, required int crossAxisCount})
SunnyGridState.ofFixedExtent({required double mainAxisSpacing, required double crossAxisSpacing, required int crossAxisCount, required double tileHeight, required int tileWidthUnit})

Properties

context BuildContext
The location in the tree where this widget builds.
no setterinherited
crossAxisCount int
final
crossAxisSpacing double
final
debugName String
no setterinherited
diffDelegator → DiffEquality
no setterinherited
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 pairinherited
globalKey GlobalKey?
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
hasSwipeActions bool
no setterinherited
isDisplayed bool
no setterinherited
isDisposing bool
no setterinherited
isEmpty bool
no setterinherited
isNotEmpty bool
no setterinherited
itemBuilder ListTileBuilder<T?>
no setterinherited
keyToIndex Map<Key, int>
getter/setter pairinherited
log → Logger
no setterinherited
loggerName String
no setterinherited
mainAxisSpacing double
final
mounted bool
Whether this State object is currently in a tree.
no setterinherited
pageError Object?
getter/setter pairinherited
rebuilds int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pairinherited
stateCounter int
finalinherited
stateId String
no setterinherited
subscriptions List<StreamSubscription>
finalinherited
trackedList List<T?>?
no setterinherited
useStateTracker bool
no setterinherited
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.
override
buildCompleteItem(BuildContext context, int idx, Animation<double> animation) Widget
inherited
buildItem(BuildContext context, int idx, T? item, Animation<double> animation) Widget
inherited
buildKey(int index, T? item) Key
Builds a unique key for each list item that will be attached during the build process
inherited
calculateKeys() → void
inherited
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
override
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
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNotFound(BuildContext context, int index, Animation<double> animation) Widget
inherited
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
override
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.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
tryGetKey(int index, T? item) String?
inherited
trying(AsyncCallback fn) Future
inherited
updateItem(State<StatefulWidget> state, int index, T? oldItem, T? newItem) → void
override
watchFocusNode(FocusNode focusNode) → void
inherited

Operators

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