setFontSize method
Description: Set the font size for new text on the whiteboard after the text tool is selected.
Valid values: integers greater than 0
Calling time/Notification time: Call this API after the ZegoSuperBoard SDK is initialized.
Note: The set font size takes effect only to text added after setFontSize is called. The font size of previously existing text on the whiteboard is not changed.
Supported version: 2.0.0
Implementation
Future<void> setFontSize({required int fontSize}) async {
return await _channel.invokeMethod('setFontSize', {'fontSize': fontSize});
}