valuemax property

  1. @override
  2. @Accessor(key: 'aria-valuemax')
num? valuemax

Defines the maximum allowed value for a range widget.

A range widget may start with a given value, which can be increased until a maximum value, defined by this property, is reached.

Declaring the minimum and maximum values allows alternate devices to react to arrow keys, validate the current value, or simply let the user know the size of the range. If the aria-valuenow has a known maximum and minimum, the author SHOULD provide properties for aria-valuemax and aria-valuemin. Authors MUST ensure the value of aria-valuemax is greater than or equal to the value of aria-valuemin.

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

Implementation

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

Defines the maximum allowed value for a range widget.

A range widget may start with a given value, which can be increased until a maximum value, defined by this property, is reached.

Declaring the minimum and maximum values allows alternate devices to react to arrow keys, validate the current value, or simply let the user know the size of the range. If the aria-valuenow has a known maximum and minimum, the author SHOULD provide properties for aria-valuemax and aria-valuemin. Authors MUST ensure the value of aria-valuemax is greater than or equal to the value of aria-valuemin.

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

Implementation

@override
@Accessor(key: 'aria-valuemax')
set valuemax(num? value) => props[_$key__valuemax___$AriaPropsMixin] = value;