static Future<bool> checkIfFlutterAvailable() async { try { await run( 'flutter', ['--version'], ); return true; } catch (e) { return false; } }