checkDeletingFiles method

dynamic checkDeletingFiles(
  1. BuildContext context,
  2. String path,
  3. bool isDirectory
)

Implementation

checkDeletingFiles(BuildContext context, String path, bool isDirectory) {
  showDialog(
    context: context,
    barrierDismissible: false,
    builder: (BuildContext context) {
      return MyFilesDialog(
        path: path,
        isDirectory: isDirectory,
        onPressed: () => onPressed(context, path, isDirectory),
      );
    },
  );
}