value property
A textual description for the current value of the owning RenderObject.
On iOS this is used for the accessibilityValue
property defined in the
UIAccessibility
Protocol. On Android it is concatenated together with
label and hint in the following order: value, label, hint.
The concatenated value is then used as the Text
description.
The reading direction is given by textDirection.
See also:
- decreasedValue, describes what value will be after performing SemanticsAction.decrease
- increasedValue, describes what value will be after performing SemanticsAction.increase
Implementation
String get value => _value;
Implementation
set value(String value) {
assert(value != null);
_value = value;
_hasBeenAnnotated = true;
}