marionette_flutter library

Classes

BooleanParam
JSON Schema fragment for a boolean-valued extension parameter.
CoordinatesMatcher
Matches by screen coordinates. This is a special matcher that doesn't actually match widgets - it's used as a fast path for tapping at specific screen positions without searching the widget tree.
DeviceConfigOverrides
Runtime overrides for the device configuration an app sees through MediaQuery.
DeviceConfigService
Holds the device-configuration overrides requested over the VM service.
ExtensionDetails
Details about a registered custom extension.
ExtensionInputSchema
Typed JSON Schema for the input parameters of a custom Marionette extension.
ExtensionParam
A typed schema for a single property of an ExtensionInputSchema.
FocusedElementMatcher
Matches the currently focused element.
IdentifierMatcher
Matches widgets by their Semantics identifier.
IntegerParam
JSON Schema fragment for an integer-valued extension parameter.
KeyMatcher
Matches widgets by their ValueKey<String> key.
LogCollector
Abstract interface for collecting application logs.
LogStore
Stores collected logs in memory with a maximum capacity.
MarionetteBinding
A custom binding that extends Flutter's default binding to provide integration points for the Marionette MCP.
MarionetteConfiguration
Configuration for the Marionette extensions.
MarionetteDeviceConfig
Lets Marionette override the device configuration — text scale, bold text, light/dark appearance — for the subtree below it.
MarionetteExtensionError
Error result mapped to ServiceExtensionResponse.error with a custom code.
MarionetteExtensionInvalidParams
Invalid parameters error mapped to ServiceExtensionResponse.invalidParams (-32602).
MarionetteExtensionResult
Result type returned by Marionette extension callbacks.
MarionetteExtensionSuccess
Successful result with custom data. The helper will add status, type, and method markers automatically.
NumberParam
JSON Schema fragment for a number-valued (int or double) extension parameter.
PrintLogCollector
A generic LogCollector that can be used with any logging solution.
ScreenshotService
Service for taking screenshots of the main app view using RenderView layers.
StringParam
JSON Schema fragment for a string-valued extension parameter.
TextMatcher
Matches widgets by their text content.
TypeMatcher
Matches widgets by their runtime type.
TypeStringMatcher
Matches widgets by their runtime type as a string.
WidgetMatcher
Abstract base class for matching widgets in the Flutter widget tree.

Enums

CompactionMode
How much get_interactive_elements reduces its per-element payload.

Properties

customExtensionRegistry → List<ExtensionDetails>
Unmodifiable view of custom (non-built-in) extensions with their metadata.
no setter

Functions

registerMarionetteExtension({required String name, String? description, ExtensionInputSchema? inputSchema, required MarionetteExtensionCallback callback}) → void
Registers a custom app-specific service extension.

Typedefs

MarionetteExtensionCallback = Future<MarionetteExtensionResult> Function(Map<String, String> params)
Callback type for Marionette extension handlers.