executeWithProgress<T> method
Implementation
Future<T> executeWithProgress<T>(Future<T> Function() f) async {
try {
_show = true;
notifyListeners();
return await f();
} finally {
_show = false;
notifyListeners();
}
}