selection property
String
get
selection
Implementation
String get selection => _selection;
set
selection
(String sel)
Implementation
set selection(String sel) =>
WidgetsBinding.instance.addPostFrameCallback((_) {
if (sel == "BottomDialog") {
setState(() {
dialogShown = true;
expanded = false;
});
return;
} else if (dialogShown) {
setState(() => dialogShown = false);
}
if (sel == _selection || sel == "") return;
setState(() => _selection = sel);
updateItems();
});