handleSelectAll method Null safety

void handleSelectAll(
  1. TextSelectionDelegate delegate
)

Call TextSelectionDelegate.selectAll to set the current selection to contain the entire text value.

Does not hide the toolbar.

This is called by subclasses when their select-all affordance is activated by the user.

Implementation

void handleSelectAll(TextSelectionDelegate delegate) {
  delegate.selectAll(SelectionChangedCause.toolbar);
}