setSizeInCssUnits method
Programmatically set the size of the editor (overriding the applicable CSS
rules). width
and height
should be CSS units ("100%", for example).
You can pass null
for either of them
to indicate that that dimension should not be changed.
Implementation
void setSizeInCssUnits(String? width, String? height) =>
callArgs('setSize', [width, height]);