getMaximalAdaptiveHeight static method
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;
}