$new static method
$Value?
$new(
- Runtime runtime,
- $Value? target,
- List<$Value?> args
)
Implementation
static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
return $AlertDialog.wrap(AlertDialog(
key: args[0]?.$value,
icon: args[1]?.$value,
iconPadding: args[2]?.$value,
iconColor: args[3]?.$value,
title: args[4]?.$value,
titlePadding: args[5]?.$value,
titleTextStyle: args[6]?.$value,
content: args[7]?.$value,
contentPadding: args[8]?.$value,
contentTextStyle: args[9]?.$value,
actions: (args[10]?.$reified as List?)?.cast(),
actionsPadding: args[11]?.$value,
actionsAlignment: args[12]?.$value,
actionsOverflowAlignment: args[13]?.$value,
actionsOverflowDirection: args[14]?.$value,
actionsOverflowButtonSpacing: args[15]?.$value,
buttonPadding: args[16]?.$value,
backgroundColor: args[17]?.$value,
elevation: args[18]?.$value,
shadowColor: args[19]?.$value,
surfaceTintColor: args[20]?.$value,
semanticLabel: args[21]?.$value,
insetPadding: args[22]?.$value,
clipBehavior: args[23]?.$value,
shape: args[24]?.$value,
alignment: args[25]?.$value,
constraints: args[26]?.$value,
scrollable: args[27]?.$value ?? false,
));
}