UiNode constructor

const UiNode({
  1. required String type,
  2. Map<String, Object?> props = const <String, Object?>{},
  3. List<UiNode> children = const <UiNode>[],
  4. String? styleToken,
  5. String? actionId,
  6. ActionTier? actionTier,
  7. String? role,
  8. String? label,
  9. List<UiBinding> bindings = const <UiBinding>[],
})

Implementation

const UiNode({
  required this.type,
  this.props = const <String, Object?>{},
  this.children = const <UiNode>[],
  this.styleToken,
  this.actionId,
  this.actionTier,
  this.role,
  this.label,
  this.bindings = const <UiBinding>[],
});