selectAllBindings method

KeyBindings selectAllBindings({
  1. String hintDescription = 'select all / clear',
})

Creates bindings for select all ('A' key).

Implementation

KeyBindings selectAllBindings(
    {String hintDescription = 'select all / clear'}) {
  return KeyBindings.letter(
    char: 'A',
    onPress: () => selection.toggleAll(items.length),
    hintDescription: hintDescription,
  );
}