onIncrease property

VoidCallback? onIncrease

The handler for SemanticsAction.increase.

This is a request to increase the value represented by the widget. For example, this action might be recognized by a slider control.

If value is set, increasedValue must also be provided and onIncrease must ensure that value will be set to increasedValue.

VoiceOver users on iOS can trigger this action by swiping up with one finger. TalkBack users on Android can trigger this action by pressing the volume up button.

Implementation

VoidCallback? get onIncrease => _onIncrease;
void onIncrease=(VoidCallback? value)

Implementation

set onIncrease(VoidCallback? value) {
  _addArgumentlessAction(SemanticsAction.increase, value!);
  _onIncrease = value;
}