setFontconfigConfigurationPath method

Future<void> setFontconfigConfigurationPath(
  1. String path
)

Sets and overrides fontconfig configuration directory.

Implementation

Future<void> setFontconfigConfigurationPath(String path) async {
  try {
    await _methodChannel
        .invokeMethod('setFontconfigConfigurationPath', {'path': path});
  } on PlatformException catch (e) {
    logger.e('Plugin setFontconfigConfigurationPath error: ${e.message}');
  }
}