repeat function

XFormsElement repeat(
  1. String nodeset, [
  2. List<XFormsElement> children = const [],
  3. String? count
])

A <repeat>, optionally with a jr:count expression count.

Implementation

XFormsElement repeat(
  String nodeset, [
  List<XFormsElement> children = const [],
  String? count,
]) => t(
  count == null
      ? 'repeat nodeset="$nodeset"'
      : 'repeat nodeset="$nodeset" jr:count="$count"',
  children,
);