reactive/reactive library

Classes

Rx<T>
A reactive value holder that uses Flutter's ValueNotifier under the hood
RxCircuitBreaker
Circuit breaker for reactive operations
RxComputed<T>
A computed reactive value that automatically updates when its dependencies change
RxErrorConfig
Error handling configuration
RxErrorUtils
Utility functions for error handling
RxFailure<T>
Failure result
RxFuture<T>
A reactive wrapper for Future operations with state management
RxInterval
Reactive interval that emits values at regular intervals
RxLogger
Centralized logging utility for the reactive system
RxResult<T>
Result wrapper for operations that can fail
RxSuccess<T>
Success result
RxTesting
Testing utilities for reactive values
RxTimer
Create a reactive timer that counts down
RxTimingUtils
Global timing utilities for reactive values

Extensions

BoolObsExtension on bool
DoubleObsExtension on double
IntObsExtension on int
ListObsExtension on List<T>
MapObsExtension on Map<K, V>
ObsExtension on T
General extension method for creating reactive values
RxAsyncErrorHandling on Rx<T>
Async error handling extensions
RxBoolExtensions on Rx<bool>
Extensions for reactive booleans
RxCombine on Never
RxComputedExtensions on Rx<T>
RxDoubleExtensions on Rx<double>
Extensions for reactive doubles
RxErrorHandling on Rx<T>
Error handling extensions for reactive values
RxIntExtensions on Rx<int>
Extensions for reactive integers
RxListExtensions on Rx<List<T>>
Reactive list extensions with comprehensive error handling
RxListTransformations on Rx<List<T>>
Collection transformation extensions
RxMapExtensions on Rx<Map<K, V>>
Enhanced reactive map operations with comprehensive error handling
RxNullableErrorHandling on Rx<T?>
Error handling for nullable reactive values
RxNullableTransformations on Rx<T?>
Extensions for nullable reactive values
RxPerformanceExtensions on Rx<T>
Performance tracking extensions for reactive values
RxSetExtensions on Rx<Set<T>>
Enhanced reactive set operations with comprehensive error handling
RxStringExtensions on Rx<String>
Extensions for reactive strings
RxTimingExtensions on Rx<T>
Timing extensions for reactive values
RxTransformations on Rx<T>
Transformation extensions for reactive values
SetObsExtension on Set<T>
StringObsExtension on String

Functions

computed<T>(T computation()) RxComputed<T>
getRxErrorConfig() RxErrorConfig
Get current error configuration
rxBool([bool initial = false]) Rx<bool>
Creates a reactive boolean value
rxDouble([double initial = 0.0]) Rx<double>
Creates a reactive double value
rxInt([int initial = 0]) Rx<int>
Creates a reactive integer value
rxList<T>([List<T>? initial]) Rx<List<T>>
Creates a reactive list
rxMap<K, V>([Map<K, V>? initial]) Rx<Map<K, V>>
Creates a reactive map
rxnBool([bool? initial]) Rx<bool?>
rxnDouble([double? initial]) Rx<double?>
rxnInt([int? initial]) Rx<int?>
rxnString([String? initial]) Rx<String?>
rxSet<T>([Set<T>? initial]) Rx<Set<T>>
Creates a reactive set
rxString([String initial = '']) Rx<String>
Creates a reactive string value
setRxErrorConfig(RxErrorConfig config) → void
Set global error handling configuration

Typedefs

RxBool = Rx<bool>
RxDouble = Rx<double>
RxInt = Rx<int>
RxList<T> = Rx<List<T>>
RxMap<K, V> = Rx<Map<K, V>>
RxnBool = Rx<bool?>
RxnDouble = Rx<double?>
RxnInt = Rx<int?>
RxnString = Rx<String?>
RxSet<T> = Rx<Set<T>>
RxString = Rx<String>

Exceptions / Errors

RxException
Exception thrown when reactive value operations fail