UIFlowComponent constructor

UIFlowComponent({
  1. double? itemWidth,
  2. double? gap,
  3. Iterable<Any>? children,
})

Implementation

factory UIFlowComponent({
  $core.double? itemWidth,
  $core.double? gap,
  $core.Iterable<$2.Any>? children,
}) {
  final result = create();
  if (itemWidth != null) result.itemWidth = itemWidth;
  if (gap != null) result.gap = gap;
  if (children != null) result.children.addAll(children);
  return result;
}