Uninstall Flutter code example
Example 1: how to install flutter
Just follow this link : https://flutter.dev/docs/get-started/install
And follow each and every step
Example 2: flutter delete directory
import 'dart:io';
void main() {
final dir = Directory(dirPath);
dir.deleteSync(recursive: true);
}
Example 3: install flutter
C:\src>git clone https://github.com/flutter/flutter.git -b stable