setLayoutHeight method
Height for NativeChartView in logical pixels. Null yields height from parent constraints only.
Implementation
void setLayoutHeight(double? height) {
if (_disposed) throw StateError('ChartController disposed');
if (!_extentOk(height)) {
throw ArgumentError.value(
height,
'height',
'must be null, zero, or finite',
);
}
if (_layoutHeight != height) {
_layoutHeight = height;
notifyListeners();
}
}