$numberWithOptions static method

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

Wrapper for the TextInputType.numberWithOptions constructor

Implementation

static $Value? $numberWithOptions(
    Runtime runtime,
    $Value? thisValue,
    List<$Value?> args,
    ) {
  return $TextInputType.wrap(
    TextInputType.numberWithOptions(
      signed: args[0]?.$value ?? false,
      decimal: args[1]?.$value ?? false,
    ),
  );
}