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