UiNode constructor

const UiNode({
  1. required String type,
  2. String? text,
  3. List<UiNode> children = const [],
  4. List<UiAction> actions = const [],
  5. String? stateKey,
  6. int? flex,
  7. double? gap,
  8. double? fontSize,
  9. bool bold = false,
  10. String? align,
  11. int? columns,
})

Creates a node.

Implementation

const UiNode({
  required this.type,
  this.text,
  this.children = const [],
  this.actions = const [],
  this.stateKey,
  this.flex,
  this.gap,
  this.fontSize,
  this.bold = false,
  this.align,
  this.columns,
});