marionette_flutter library
Classes
- 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.
- ExtensionDetails
- Details about a registered custom extension.
- FocusedElementMatcher
- Matches the currently focused element.
- 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.
- 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, andmethodmarkers automatically. - 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.
- 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.
Properties
-
customExtensionRegistry
→ List<
ExtensionDetails> -
Unmodifiable view of custom (non-built-in) extensions with their metadata.
no setter
Functions
-
registerMarionetteExtension(
{required String name, String? description, 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.