UiElement constructor
const
UiElement({
- required String elementId,
- String? testId,
- String? type,
- String? role,
- String? label,
- String? text,
- String? hint,
- List<
String> options = const [], - ElementLocator? suggestedLocator,
- String? locatorWarning,
- UiElementState state = const UiElementState(),
- UiBounds? bounds,
- List<
String> actions = const [], - List<
UiElement> children = const [], - Map<
String, Object?> metadata = const {},
Implementation
const UiElement({
required this.elementId,
this.testId,
this.type,
this.role,
this.label,
this.text,
this.hint,
this.options = const [],
this.suggestedLocator,
this.locatorWarning,
this.state = const UiElementState(),
this.bounds,
this.actions = const [],
this.children = const [],
this.metadata = const {},
});