$separated static method

$Value? $separated(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Implementation

static $Value? $separated(
    Runtime runtime, $Value? target, List<$Value?> args) {
  return $ListView.wrap(ListView.separated(
    key: args[0]?.$value,
    scrollDirection: args[1]?.$value ?? Axis.vertical,
    reverse: args[2]?.$value ?? false,
    controller: args[3]?.$value,
    primary: args[4]?.$value,
    physics: args[5]?.$value,
    shrinkWrap: args[6]?.$value ?? false,
    padding: args[7]?.$value,
    itemBuilder: (p0, p1) => (args[8]! as EvalCallable)
        .call(runtime, null, [$BuildContext.wrap(p0), $int(p1)])?.$reified,
    findItemIndexCallback: args[9] == null
        ? null
        : ((p0) => (args[9]! as EvalCallable)
            .call(runtime, null, [$Key.wrap(p0)])?.$reified),
    separatorBuilder: (p0, p1) => (args[10]! as EvalCallable)
        .call(runtime, null, [$BuildContext.wrap(p0), $int(p1)])?.$reified,
    itemCount: args[11]?.$value,
    addAutomaticKeepAlives: args[12]?.$value ?? true,
    addRepaintBoundaries: args[13]?.$value ?? true,
    addSemanticIndexes: args[14]?.$value ?? true,
    cacheExtent: args[15]?.$value,
    dragStartBehavior: args[16]?.$value ?? DragStartBehavior.start,
    keyboardDismissBehavior: args[17]?.$value,
    restorationId: args[18]?.$value,
    clipBehavior: args[19]?.$value ?? Clip.hardEdge,
    hitTestBehavior: args[20]?.$value ?? HitTestBehavior.opaque,
  ));
}