toggleSelection method

  1. @protected
void toggleSelection(
  1. BuildContext context
)

Implementation

@protected
void toggleSelection(BuildContext context) {
  _requireSelectable(context);
  isSelected(context) ? deselectItem(context) : selectItem(context);
}