onSelected method

void onSelected(
  1. T value
)

Called when the user selects a value from the popup menu created by this button.

Implementation

void onSelected(T value) {}