h function

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

Creates a raw element node with tag, props, and normalized children.

Implementation

FlintElement h(
  String tag, {
  Map<String, Object?> props = const {},
  List<Object?> children = const [],
}) {
  return FlintElement(
    tag,
    props: props,
    children: children.map(component_props.toFlintNode).toList(growable: false),
  );
}