withSelectAll method

SelectableListPromptBuilder<T> withSelectAll({
  1. String hintDescription = 'select all / clear',
})

Adds 'A' key binding for select all / clear all.

Implementation

SelectableListPromptBuilder<T> withSelectAll({
  String hintDescription = 'select all / clear',
}) {
  _wantSelectAll = true;
  _selectAllHint = hintDescription;
  return this;
}