$builder static method
$Value?
$builder(
- Runtime runtime,
- $Value? target,
- List<$Value?> args
)
Implementation
static $Value? $builder(Runtime runtime, $Value? target, List<$Value?> args) {
return $ListView.wrap(ListView.builder(
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,
itemExtent: args[8]?.$value,
itemExtentBuilder: args[9] == null
? null
: ((p0, p1) => (args[9]! as EvalCallable)
.call(runtime, null, [$int(p0), $Object(p1)])?.$reified),
prototypeItem: args[10]?.$value,
itemBuilder: (p0, p1) => (args[11]! as EvalCallable)
.call(runtime, null, [$BuildContext.wrap(p0), $int(p1)])?.$reified,
findChildIndexCallback: args[12] == null
? null
: ((p0) => (args[12]! as EvalCallable)
.call(runtime, null, [$Key.wrap(p0)])?.$reified),
itemCount: args[13]?.$value,
addAutomaticKeepAlives: args[14]?.$value ?? true,
addRepaintBoundaries: args[15]?.$value ?? true,
addSemanticIndexes: args[16]?.$value ?? true,
cacheExtent: args[17]?.$value,
semanticChildCount: args[18]?.$value,
dragStartBehavior: args[19]?.$value ?? DragStartBehavior.start,
keyboardDismissBehavior: args[20]?.$value,
restorationId: args[21]?.$value,
clipBehavior: args[22]?.$value ?? Clip.hardEdge,
hitTestBehavior: args[23]?.$value ?? HitTestBehavior.opaque,
));
}