getFontSize method
Description: Get 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<int> getFontSize() async {
var fontSize = await _channel.invokeMethod('getFontSize') ?? 0;
return fontSize;
}