pylon library
Classes
-
Conduit<
T> -
A StatelessWidget that rebuilds its content based on the latest value from a global
BehaviorSubjectstream for typeT. -
MutablePylon<
T> - A stateful widget that provides mutable state management functionality.
-
MutablePylonState<
T> - The State class for MutablePylon, managing mutable value updates and rebuilds.
-
Pylon<
T> -
A widget that provides a value of type
Tto its descendants in the widget tree. - PylonCluster
- A StatelessWidget that combines multiple Pylon widgets into a single, efficient widget.
-
PylonCodec<
T> -
PylonFuture<
T> - A StatelessWidget that integrates a FutureBuilder with a Pylon to manage asynchronous data loading and provide the resolved value to descendant widgets via the Pylon context extension.
-
PylonPort<
T extends PylonCodec> - A widget that synchronizes a pylon value with URL query parameters.
-
PylonRemove<
T> -
A widget that nullifies a pylon value of type
Tfrom the widget tree. -
PylonStream<
T> - A widget that combines a StreamBuilder with a Pylon to provide reactive state management for streams.
Enums
- PylonRouteType
- Represents common route types for navigation methods in Pylon.
Extensions
- XContextPylon on BuildContext
- Extension on BuildContext offering utility methods to access, query, modify, and observe Pylon and MutablePylon widgets in the widget tree.
-
XPylonIterable
on Iterable<
T> - Extension on Iterable to transform collections into lists of Pylon widgets for building dynamic UIs with multiple Pylon instances.
-
XPylonStream
on Stream<
T> - Extension on Stream providing a convenient method to create a PylonStream widget for reactive UI updates based on stream emissions in conjunction with Pylon.
Properties
-
$conduitStreams
↔ List<
BehaviorSubject> -
Private global list of all active conduit streams managed by Conduit subjects.
getter/setter pair
-
pylonCodecs
↔ Map<
Type, PylonCodec> -
getter/setter pair
Functions
-
registerPylonCodec<
T extends PylonCodec> (T codec) → void
Typedefs
- PylonBuilder = Widget Function(BuildContext context)
- A typedef for a function that builds a widget given a BuildContext.