shouldShowSelectionToolbar property

bool get shouldShowSelectionToolbar

Whether to show the selection toolbar.

It is based on the signal source when onTapDown, onSecondaryTapDown, onDragSelectionStart, or onForcePressStart is called. This getter will return true if the current onTapDown, or onDragSelectionStart event is triggered by a touch or a stylus. It will always return true for the current onSecondaryTapDown or onForcePressStart event.

Implementation

bool get shouldShowSelectionToolbar => _shouldShowSelectionToolbar;