SState<T> class
- Inheritance
-
- Object
- SBaseState<
T> - SState
Constructors
- SState([T? initialVal])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueOrNull → T?
-
no setterinherited
Methods
-
builder(
SBuilderFunction< T> builder) → Widget -
inherited
-
combine<
R, B> (SBaseState< B> other, SCombinerSingleFunction<R, T, B> transformer) → SReadOnlyState<R> -
inherited
-
combines<
R> (List< SBaseState> others, SCombinerMultipleFunction<R, dynamic> combiner) → SReadOnlyState<R> -
inherited
-
listen(
dynamic onListen(T value), {void onDone()?, Function? onError}) → StreamSubscription< T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setError(
dynamic error) → void -
setState(
T item) → T -
toString(
) → String -
A string representation of this object.
inherited
-
transform<
R> (R transformer(T value)) → SReadOnlyState< R> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited