getEglLibrary method

DynamicLibrary? getEglLibrary()

Implementation

DynamicLibrary? getEglLibrary() {
  if (Platform.isAndroid) {
    return DynamicLibrary.open("libEGL.so");
  } else if (Platform.isWindows) {
    return DynamicLibrary.open("flutter_gl_windows_plugin.dll");
  } else {
    return DynamicLibrary.process();
  }
}