UiElement constructor

const UiElement({
  1. required int nodeId,
  2. required String label,
  3. String? value,
  4. String? hint,
  5. required UiElementType type,
  6. required List<String> availableActions,
  7. List<String> parentLabels = const [],
  8. required Rect bounds,
  9. bool isEnabled = true,
  10. bool isFocused = false,
  11. bool? isChecked,
})

Implementation

const UiElement({
  required this.nodeId,
  required this.label,
  this.value,
  this.hint,
  required this.type,
  required this.availableActions,
  this.parentLabels = const [],
  required this.bounds,
  this.isEnabled = true,
  this.isFocused = false,
  this.isChecked,
});