FlintElement constructor

const FlintElement(
  1. String tag, {
  2. Map<String, Object?> props = const {},
  3. List<FlintNode> children = const [],
})

Creates an element with tag, optional props, and children.

Implementation

const FlintElement(
  this.tag, {
  this.props = const {},
  this.children = const [],
});