onTapIcon method
Implementation
void onTapIcon(IconPickerIcon val, {VoidCallback? onSelected}) {
if (!_isMultiple) {
onSelected?.call();
} else {
toggleSelectedIcon(val);
}
notifyListeners();
}
void onTapIcon(IconPickerIcon val, {VoidCallback? onSelected}) {
if (!_isMultiple) {
onSelected?.call();
} else {
toggleSelectedIcon(val);
}
notifyListeners();
}