This Dart package that provides information about the operating system files and directories. The package is designed to work in all platforms, including browsers.
In pubspec.yaml:
dependencies:
os_files: ^1.0.0
import 'package:os_files/os_files.dart';
Future<void> main() async {
print('Python 3 installed: ${await terminalAppFound('python3')}');
print('Random temporary directory: ${randomTemporaryDirectory().path}');
}