framework library

Framework-internal barrel for sibling packages (armature_flutter, custom Renderer implementations, debug tooling). Application code must not import this — the typed APIs in package:armature/armature.dart cover every end-user scenario.

Types here (Port, AnyPort, PortType, PortSubscription) are the plumbing behind the public port subclasses (Pipe, Behavior, slot variants) and may change without a major bump as long as the public typed APIs stay stable.

Classes

Port<TValue, TInputData extends Object?, THandler extends Function>
Base class for composable ports (pipes, behaviors, slots).
PortSubscription<TValue, TInputData>
Reactive subscription to a Port's applied value.

Enums

PortType
Categorisation of Port subclasses. Used for debug tooling, logging, and the debugInfo map. Framework-level: extending with new kinds requires a new enum value.

Typedefs

AnyPort = Port<dynamic, Object?, Function>
Type alias for a Port with type params erased.