setCustomFontSize static method

Future<void> setCustomFontSize(
  1. int _size
)

setCustomFontSize

This method will allow you to put any font size integer and try the best fit for you

Implementation

static Future<void> setCustomFontSize(int _size) async {
  Map<String, dynamic> arguments = <String, dynamic>{"size": _size};
  await _channel.invokeMethod("FONT_SIZE", arguments);
}