SaveStatelessWidgetState class

The default widget state to build SaveWidget.

Inheritance

Constructors

SaveStatelessWidgetState()

Properties

$ SaveObserver
no setterinherited
context BuildContext
no setterinherited
effects List<SaveEffect>
SaveEffects to register
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
mounted bool
Whether this State object is currently in a tree.
no setterinherited
needObservation bool
getter/setter pairinherited
repo SaveRepository
A repository associated with this observer.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget SaveWidget
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildIndicator(BuildContext context) Widget
A loading indicator widget to show when the state is not yet initialized.
override
call<T>(SaveProvider<T> provider) SaveObservableBase<T>
Syntactic sugar for watch
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 SaveWidget oldWidget) → void
Called whenever the widget configuration changes.
override
dispose() → void
Called when this object is removed from the tree permanently.
override
disposeObserver() → void
unwatch everything
inherited
getActionEffects(SaveAction action) List<SaveEffect>
inherited
initState() → void
Called when this object is inserted into the tree.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNotification<S>(SaveProvider<S> provider) → void
What to do when the observables are changed.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
registerEffect(SaveEffect effect) → void
Registers the SaveEffect.
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
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
unregisterEffect(SaveEffect effect) → void
Unregisters the SaveEffect
inherited
unwatch<T>(SaveProvider<T> provider) → void
Unregister the observables.
inherited
watch<T>(SaveProvider<T> provider) SaveObservableBase<T>
Watch the observables.
inherited

Operators

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