getCommandFlutter static method
Gets the appropriate Flutter command for the current platform.
Returns 'flutter.bat' on Windows and 'flutter' on other platforms.
Example:
final flutterCmd = FlutterHelper.getCommandFlutter();
print('Using Flutter command: $flutterCmd');
Implementation
static String getCommandFlutter() {
if (Platform.isWindows) {
return 'flutter.bat';
} else {
return 'flutter';
}
}