duit_kernel library

Classes

ActionDependency
Represents a dependency for a server action.
AnimatedPropertyOwner
A class for extending attribute classes.
AttributeParserBase
A class that defines methods for implementation in the parser on the framework side
DuitAbstractTree
Represents an abstract tree structure for rendering DUIT elements.
DuitAttributes<T>
DuitAttributes is an abstract interface that defines the contract for attribute classes in the DUIT library.
DuitComponentDescription
Description of the component for registering it in the DuitRegistry under the key corresponding to the tag property
DuitRegistry
The DuitRegistry class is responsible for registering and retrieving model factories, build factories, and attributes factories for custom DUIT elements.
DuitScript
DuitScriptRunner<TOptions>
The base class required to implement a script runner
HttpActionMetainfo
Represents the metadata for an HTTP action.
RefWithTarget
ServerAction
Represents a server action.
Streamer
An abstract interface class for providing a stream of events.
Task
Base class for all Task objects executed by workers
TaskResult
The result of a task executed by workers
Transport
Base class for transport implementations.
TransportOptions
The base options for configuring a transport.
TreeElement<T>
UIDriver
UIElementController<T>
Base class for ViewController objects.
ValueReference
A class representing a data model that can be used to merge with a component description
ViewAttribute<T>
Represents a wrapper for view attributes.
WorkerPool
Base class for all worker pools
WorkerPoolConfiguration
An object used for basic configuration of a WorkerPool

Typedefs

AttributesFactory = DuitAttributes Function(String type, Map<String, dynamic>? json)
The AttributesFactory is a function type that maps the attributes of a DUIT element to ViewAttribute.
BuildFactory = Widget Function(TreeElement model, [Iterable<Widget> subviews])
The Renderer is a function type that returns a widget representation of a DUITElement.
ModelFactory = TreeElement Function(String id, bool controlled, ViewAttribute attributes, UIElementController? controller, [Iterable<TreeElement> subviews])
The ModelFactory is a function type that maps a DUIT element to a TreeElement.
TaskHandler = dynamic Function(dynamic params)
The task handler