onClick method
dynamic
onClick(
- dynamic key
Implementation
onClick(key) {
if (key == 1) {
isShare = !isShare;
notifyListeners();
} else {
shareFiles();
}
}
onClick(key) {
if (key == 1) {
isShare = !isShare;
notifyListeners();
} else {
shareFiles();
}
}