onPressed method
Implementation
void onPressed(
BuildContext context,
String path,
bool isDirectory,
) {
onDeleteFile(context, path, isDirectory);
Navigator.of(context).pop();
}
void onPressed(
BuildContext context,
String path,
bool isDirectory,
) {
onDeleteFile(context, path, isDirectory);
Navigator.of(context).pop();
}