placeholder property

String? placeholder

Change the mask placeholder. Instead of "_", you can change the unfilled characters mask as you like, simply by adding the placeholder option. For example, placeholder: " " will change the default autofill with empty values.

@default "_"

Implementation

_i2.String? get placeholder => _i4.getProperty(
      this,
      'placeholder',
    );
void placeholder=(String? value)

Implementation

set placeholder(_i2.String? value) {
  _i4.setProperty(
    this,
    'placeholder',
    value ?? _i6.undefined,
  );
}