setFontSize static method

Future<void> setFontSize([
  1. double size = 24
])

Sets the font size

Implementation

static Future<void> setFontSize([double size = 24]) async {
  final args = <String, dynamic>{"fontSize": size};
  await _channel.invokeMethod(commandSetFontSize, args);
}