$new static method

$Value? $new(
  1. Runtime runtime,
  2. $Value? thisValue,
  3. List<$Value?> args
)

Wrapper for the MaterialModalActionSheetConfiguration.new constructor

Implementation

static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
  return $MaterialModalActionSheetConfiguration.wrap(
    MaterialModalActionSheetConfiguration(
      initialChildSize: args[0]?.$value ?? 0.5,
      minChildSize: args[1]?.$value ?? 0.25,
      maxChildSize: args[2]?.$value ?? 0.9,
    ),
  );
}