inputType property

InputType? inputType

Indicates whether the value passed for initialization is text or a number.

  • text - radixpoint should be the same as in the options
  • number - radixpoint should be a . as the default for a number in js

@default "text"

Implementation

_i3.InputType? get inputType => switch (_i4.getProperty(
      this,
      'inputType',
    )) {
      _i2.String name => _i3.InputType.values.byName(name),
      _ => null
    };
void inputType=(InputType? value)

Implementation

set inputType(_i3.InputType? value) {
  _i4.setProperty(
    this,
    'inputType',
    value?.name ?? _i6.undefined,
  );
}