pl_flow library
Classes
-
FlowBuilder<
T> - A simple and lightweight widget builder for MutableFlow.
- FlowObserver
- FlowObserver is a class that observes the flows and disposes them when they are no longer needed. It is used to avoid memory leaks and to ensure that the flows are disposed when they are no longer needed. Example:
- MultiFlowBuidler
-
MutableFlow<
T> -
PulseStreamBuilder<
T extends Object> - A modern stream builder widget with type-safe state management.
-
StateFlow<
T> -
StreamData<
T extends Object> - Stream has emitted data.
-
StreamError<
T extends Object> - Stream has emitted an error.
-
StreamInitial<
T extends Object> - Initial state with no data yet.
-
StreamState<
T extends Object> - Represents the state of a stream subscription.
-
TaskQueueRunner<
T>
Enums
Typedefs
-
CreateFlow<
T> = MutableFlow< T> Function(BuildContext context) - Factory function to create a new flow instance.
-
MultiFlowBuilderWidget
= Widget Function(BuildContext context, List<
Tuple3< data)Type, int, dynamic> ?> -
A builder that builds a widget based on the state of a MultiFlow.
datathe data of the MultiFlow. -
MultiFlowData
= List<
Tuple3< Type, int, dynamic> ?>
Exceptions / Errors
- TaskQueueException
-
Task Queue Exceptionis the base exception for task queue - TaskQueueRemovedException
- TaskQueueTimeoutException