$new static method

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

Wrapper for the SafeArea.new constructor

Implementation

static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
  return $SafeArea.wrap(
    SafeArea(
      key: args[0]?.$value,
      left: args[1]?.$value ?? true,
      top: args[2]?.$value ?? true,
      right: args[3]?.$value ?? true,
      bottom: args[4]?.$value ?? true,
      minimum: args[5]?.$value ?? EdgeInsets.zero,
      maintainBottomViewPadding: args[6]?.$value ?? false,
      child: args[7]!.$value,
    ),
  );
}