UidlNode constructor

const UidlNode({
  1. required String id,
  2. required String type,
  3. String? componentId,
  4. Map<String, dynamic> props = const {},
  5. Map<String, dynamic>? style,
  6. Map<String, dynamic>? events,
  7. List<UidlNode> children = const [],
  8. Map<String, List<UidlNode>>? slots,
  9. UidlVisibility? visibility,
  10. UidlRepeat? repeat,
  11. String? themeRef,
  12. String? testId,
})

Implementation

const UidlNode({
  required this.id,
  required this.type,
  this.componentId,
  this.props = const {},
  this.style,
  this.events,
  this.children = const [],
  this.slots,
  this.visibility,
  this.repeat,
  this.themeRef,
  this.testId,
});