XLifecycle class abstract interface

Implemented types
Implementers
Available extensions

Properties

context BuildContext
no setterinherited
currentLifecycleState → LifecycleState
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
lifecycle → Lifecycle
no setterinherited
mountable → Cancellable
no setterinherited

Available on X, provided by the XFExt extension

no setter

Available on X, provided by the XFExt extension

no setter
parent X?

Available on X, provided by the XExtKit extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme ThemeData

Available on X, provided by the XFExt extension

no setter

Methods

addLifecycleObserver(LifecycleObserver observer, {LifecycleState? startWith, bool fullCycle = true}) → void
inherited
addOnActivateListener(void listener(Cancellable cancellable), {Cancellable? removable}) → void
inherited
addOnChangeDependenciesListener(void listener(Cancellable cancellable), {Cancellable? removable}) → void
inherited
addOnDeactivateListener(void listener(Cancellable cancellable), {Cancellable? removable}) → void
inherited
addToListenableSingleMarkNeedsBuildListener(Listenable listenable) → void

Available on X, provided by the XExt extension

find<T>({Object? key, bool inValues = true, bool inDependentValues = true, bool inLocalValues = true, bool listen = true}) → T?

Available on X, provided by the XExt extension

findValueNotifier<T>({Object? key, bool inLocal = false, bool listen = true}) ValueNotifier<T>

Available on X, provided by the XFExt extension

get<T>({Object? key, bool listen = false}) → T

Available on X, provided by the XExt extension

getByRoute<T, I>({required T block(I arguments)}) → T

Available on X, provided by the XFExt extension

getByRouteArguments<T>() → T

Available on X, provided by the XFExt extension

getByRouteMap<T>({required String key}) → T

Available on X, provided by the XFExt extension

getValue<T>({Object? key}) → T

Available on X, provided by the XFExt extension

makeCancellable({Cancellable? father}) → Cancellable
inherited
markNeedsBuild() → void

Available on X, provided by the XExtKit extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void block()) → void

Available on X, provided by the XExtKit extension

remember<T>(T value(), {Object? key, bool listen = true}) → T

Available on X, provided by the XExt extension

remember2Dependent<T>(T value(), {Object? key}) → T

Available on X, provided by the XExt extension

remember2Local<T>(T value(), {Object? key, bool listen = true}) → T

Available on X, provided by the XExt extension

rememberAnimationController({double? value, Duration? duration, Duration? reverseDuration, String? debugLabel, double lowerBound = 0.0, double upperBound = 1.0, AnimationBehavior animationBehavior = AnimationBehavior.normal, Object? key}) AnimationController

Available on X, provided by the CancellableStateExt extension

rememberAnimationControllerUnbounded({double value = 0.0, Duration? duration, Duration? reverseDuration, String? debugLabel, AnimationBehavior animationBehavior = AnimationBehavior.normal, Object? key}) AnimationController

Available on X, provided by the CancellableStateExt extension

rememberAsyncValue<T>(Future<T> value(), {Object? key, bool toLocal = false}) AsyncValue<T>

Available on X, provided by the XAsyncExt extension

rememberAsyncValueAndArg<T, Args>(FutureOr<T> value(Args), Args args, {Object? key, bool toLocal = false}) AsyncValue<T>

Available on X, provided by the XAsyncExt extension

rememberAsyncValueCollectOnLifecycle<T>(Future<T> value(), {Object? key, bool toLocal = false, bool? cancelOnError, LifecycleState targetState = LifecycleState.started}) AsyncValue<T>

Available on XLifecycle, provided by the XLifecycleAsyncExt extension

rememberAsyncValueStream<T>(Stream<T> value(), {Object? key, bool toLocal = false, bool? cancelOnError}) AsyncValue<T>

Available on X, provided by the XAsyncExt extension

rememberKeepAlive(bool wantKeepAlive) bool

Available on X, provided by the CancellableStateExt extension

rememberTabController({int initialIndex = 0, Duration? animationDuration, required int length, Object? key}) TabController

Available on X, provided by the CancellableStateExt extension

rememberTickerProvider() TickerProvider

Available on X, provided by the CancellableStateExt extension

rememberToLifecycle<T extends Object>({Object? key, required T creator()}) → T

Available on LifecycleObserverRegistry, provided by the LifecycleProvider extension

rememberValue<T>(T value(), {bool listen = true}) ValueNotifier<T>

Available on X, provided by the XFExt extension

rememberValueNotifier<T>(ValueNotifier<T> value(), {Object? key, bool toLocal = false, bool listen = true}) ValueNotifier<T>

Available on X, provided by the XFExt extension

removeLifecycleObserver(LifecycleObserver observer, {bool? fullCycle}) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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