$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 as Key?,
scrollDirection: args[1]?.$value as Axis? ?? Axis.vertical,
reverse: args[2]?.$value as bool? ?? false,
controller: args[3]?.$value as ScrollController?,
primary: args[4]?.$value as bool?,
//physics: args[5]?.$reified as ScrollPhysics?,
shrinkWrap: args[5]?.$value as bool? ?? false,
padding: args[6]?.$value as EdgeInsetsGeometry?,
itemExtent: args[7]?.$value as double?,
addAutomaticKeepAlives: args[8]?.$value as bool? ?? true,
addRepaintBoundaries: args[9]?.$value as bool? ?? true,
addSemanticIndexes: args[10]?.$value as bool? ?? true,
cacheExtent: args[11]?.$value as double?,
itemBuilder: (context, index) => (args[12] as EvalCallable).call(
runtime, target, [$BuildContext.wrap(context), $int(index)])?.$value,
itemCount: args[13]?.$value as int?,
));
}