getMaximalAdaptiveHeight static method

Future<double> getMaximalAdaptiveHeight(
  1. int width
)

Returns the maximal adaptive height of given width.

Native SDK Reference

  • Android: getMaximalAdaptiveHeight
  • iOS: getMaximalAdaptiveHeight
    

Implementation

static Future<double> getMaximalAdaptiveHeight(int width) async {
  final args = OutgoingValueParser.getMaximalAdaptiveHeight(width);
  final double adaptiveHeight = await _channel.invokeMethod('getMaximalAdaptiveHeight', args);
  return adaptiveHeight;
}