tController<T> class
- Inheritance
-
- Object
- StateNotifier<
AsyncValue< searchData< >T> > - tController
Constructors
-
tController(Ref<
Object?> ref, String? uid, {required repo_tempConfig<T> config})
Properties
- cachedQuery ↔ String?
-
getter/setter pair
-
config
→ repo_tempConfig<
T> -
final
-
debugState
→ AsyncValue<
searchData< T> > -
A development-only way to access state outside of
StateNotifier
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
If a listener has been added using addListener and hasn't been removed yet.
no setterinherited
- mounted → bool
-
Whether dispose was called or not.
no setterinherited
- onError ↔ ErrorListener?
-
A callback for error reporting if one of the listeners added with addListener throws.
getter/setter pairinherited
-
ref
→ Ref<
Object?> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
↔ AsyncValue<
searchData< T> > -
The current "state" of this
StateNotifier
.getter/setter pairinherited -
stream
→ Stream<
AsyncValue< searchData< >T> > -
A broadcast stream representation of a
StateNotifier
.no setterinherited - uid → String?
-
final
Methods
-
addListener(
Listener< AsyncValue< listener, {bool fireImmediately = true}) → RemoveListenersearchData< >T> > -
Subscribes to this object.
inherited
-
addT(
T c) → Future< T?> -
dispose(
) → void -
Frees all the resources associated with this object.
inherited
-
getSuggest(
T c) → Future< void> -
initialLoad(
{int? lmt}) → Future< void> -
loadafter(
{int? lmt, bool useCQ = false}) → Future< void> -
loadb4(
{int? lmt, bool useCQ = false}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeT(
String id) → Future< bool> -
search(
String? s, {int? lmt, int page = 0, bool showNoResult = false, bool useCQ = true}) → Future< void> -
set2read(
T c) → Future< void> -
setDialog(
String s) → void -
setExDialog(
CustomException e) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateDeletePvds(
String id) → dynamic -
updatePvds(
T c) → dynamic -
updateShouldNotify(
AsyncValue< searchData< old, AsyncValue<T> >searchData< current) → boolT> > -
Whether to notify listeners or not when state changes
inherited
-
updateT(
T c) → Future< T?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited