setFontconfigConfigurationPath static method

Future<void> setFontconfigConfigurationPath(
  1. String path
)

Sets and overrides "fontconfig" configuration directory.

Implementation

static Future<void> setFontconfigConfigurationPath(String path) async {
  try {
    await init();
    return _platform.ffmpegKitConfigSetFontconfigConfigurationPath(path);
  } on PlatformException catch (e, stack) {
    print("Plugin setFontconfigConfigurationPath error: ${e.message}");
    return Future.error("setFontconfigConfigurationPath failed.", stack);
  }
}