kernel_api library

Classes

ActionExecutor
The ActionExecutor is an abstract class responsible for executing actions.
DebugLogger
The DebugLogger interface defines a contract for logger implementations.
DefaultActionExecutor
Executes a given ServerAction.
DefaultActionParser
The DefaultActionParser is a default parser for ServerAction objects.
DefaultEventParser
The DefaultEventParser is a default parser for ServerEvent objects.
DefaultEventResolver
DefaultLogger
The DefaultLogger class provides a default logger implementation for the DUIT library.
DefaultThemeToken
A concrete implementation of ThemeToken that can be used directly.
DuitRegistry
The DuitRegistry class is responsible for registering and retrieving model factories, build factories, and attributes factories for custom DUIT elements.
DuitTheme
ElementTree
Represents an abstract tree structure for rendering DUIT elements.
ElementTreeEntry
An abstract base class representing an entry in the DUIT element tree.
EventResolver
ExternalEventHandler
An interface that defines a set of methods that, for some reason, cannot be processed by the library and cannot be implemented by the user.
ScriptRunner<TOptions>
The base class required to implement a script runner
ServerAction
The ServerAction class represents an action that was sent by the server.
Streamer
An abstract interface class for providing a stream of events.
ThemePreprocessor
ThemeToken
An abstract class representing a token for a theme in the application.
Transport
Base class for transport implementations.
TransportOptions
The base options for configuring a transport.
UIDriver
UIElementController
Base class for ViewController objects.
UnknownThemeToken
A ThemeToken that represents a theme that is not recognized.
ViewAttribute
Represents a wrapper for view attributes.

Enums

UserDefinedHandlerKind
The kind of user-defined event handler to be attached to an action manager.

Mixins

FocusCapabilityDelegate
A mixin that provides an interface for managing focus nodes within the Duit kernel driver API.
LoggingCapabilityDelegate
A mixin that provides logging capabilities compatible with Talker API.
NativeModuleCapabilityDelegate
A mixin that provides capabilities for managing and interacting with native code in the Duit UI system. Classes that mix in this delegate should provide concrete implementations for handling native module interactions, such as invoking native methods and initializing the native module.
ScriptingCapabilityDelegate
A mixin that provides capabilities for managing and run scripts in the Duit UI system. Classes that mix in this delegate should provide concrete implementations for handling script execution, evaluation, and initialization.
ServerActionExecutionCapabilityDelegate
A mixin that provides an interface for managing ServerAction execution and ServerEvent handling
TransportCapabilityDelegate
A mixin that provides capabilities for managing and interacting with transport in the Duit UI system. Classes that mix in this delegate should provide concrete implementations for handling server actions, requests, and connections to the server.
UIControllerCapabilityDelegate
Mixin that provides an interface for managing and interacting with UI element controllers in the Duit driver.
ViewModelCapabilityDelegate
A mixin that provides capabilities for managing and interacting with views in the Duit UI system. Classes that mix in this delegate should provide concrete implementations for handling driver events, widget build context, error reporting, and display state changes.

Typedefs

TokenizationCallback = ThemeToken? Function(String type, Map<String, dynamic> themeData)
Function for custom tokenization of themes.