onSelected method

void onSelected(
  1. String selection
)

Implementation

void onSelected(String selection) {
    debugPrint('当前选择了 $selection');
  }