placeholder property

  1. @override
  2. @Accessor(key: 'aria-placeholder')
String? placeholder

Defines a short hint (a word or short phrase) intended to help the user with data entry when a form control has no value. The hint can be a sample value or a brief description of the expected format

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-placeholder

Implementation

@override
@Accessor(key: 'aria-placeholder')
String? get placeholder =>
    (props[_$key__placeholder___$AriaPropsMixin] ?? null) as String?;
  1. @override
  2. @Accessor(key: 'aria-placeholder')
void placeholder=(String? value)

Defines a short hint (a word or short phrase) intended to help the user with data entry when a form control has no value. The hint can be a sample value or a brief description of the expected format

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-placeholder

Implementation

@override
@Accessor(key: 'aria-placeholder')
set placeholder(String? value) =>
    props[_$key__placeholder___$AriaPropsMixin] = value;