setAspectRatio method
This will make a window maintain an aspect ratio.
Implementation
Future<void> setAspectRatio(double aspectRatio) async {
final Map<String, dynamic> arguments = {
'aspectRatio': aspectRatio,
};
await _channel.invokeMethod('setAspectRatio', arguments);
}