how to delete full directory in flutter code example
Example: flutter delete directory
import 'dart:io';
void main() {
final dir = Directory(dirPath);
dir.deleteSync(recursive: true);
}
import 'dart:io';
void main() {
final dir = Directory(dirPath);
dir.deleteSync(recursive: true);
}