$new static method
$Value?
$new(
- Runtime runtime,
- $Value? target,
- List<$Value?> args
)
Implementation
static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
return $MaterialPageRoute.wrap(MaterialPageRoute(
builder: (context) => (args[0] as EvalCallable)
.call(runtime, null, [$BuildContext.wrap(context)])!.$value,
settings: args[1]?.$value,
maintainState: args[2]?.$value ?? true,
fullscreenDialog: args[3]?.$value ?? false,
allowSnapshotting: args[4]?.$value ?? true,
barrierDismissible: args[5]?.$value ?? false,
));
}