returnSelection method

void returnSelection(
  1. int index
)

Call back parent current Selection

Implementation

void returnSelection(int index) {
  FocusScope.of(context).unfocus();
  if(widget.selection){widget.selectionCallback(listCurrent[ index ]);}
}