543 lines
17 KiB
Dart
543 lines
17 KiB
Dart
//
|
|
// Generated file. Do not edit.
|
|
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
|
|
//
|
|
|
|
// @dart = 3.0
|
|
|
|
import 'dart:io'; // flutter_ignore: dart_io_import.
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:file_selector_android/file_selector_android.dart';
|
|
import 'package:flutter_inappwebview_android/flutter_inappwebview_android.dart';
|
|
import 'package:image_picker_android/image_picker_android.dart';
|
|
import 'package:open_file_android/open_file_android.dart';
|
|
import 'package:path_provider_android/path_provider_android.dart';
|
|
import 'package:shared_preferences_android/shared_preferences_android.dart';
|
|
import 'package:sqflite_android/sqflite_android.dart';
|
|
import 'package:url_launcher_android/url_launcher_android.dart';
|
|
import 'package:webview_flutter_android/webview_flutter_android.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:file_selector_ios/file_selector_ios.dart';
|
|
import 'package:flutter_inappwebview_ios/flutter_inappwebview_ios.dart';
|
|
import 'package:image_picker_ios/image_picker_ios.dart';
|
|
import 'package:open_file_ios/open_file_ios.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:pointer_interceptor_ios/pointer_interceptor_ios.dart';
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
|
import 'package:sqflite_darwin/sqflite_darwin.dart';
|
|
import 'package:url_launcher_ios/url_launcher_ios.dart';
|
|
import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart';
|
|
import 'package:connectivity_plus/connectivity_plus.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:file_selector_linux/file_selector_linux.dart';
|
|
import 'package:flutter_keyboard_visibility_linux/flutter_keyboard_visibility_linux.dart';
|
|
import 'package:image_picker_linux/image_picker_linux.dart';
|
|
import 'package:open_file_linux/open_file_linux.dart';
|
|
import 'package:path_provider_linux/path_provider_linux.dart';
|
|
import 'package:share_plus/share_plus.dart';
|
|
import 'package:shared_preferences_linux/shared_preferences_linux.dart';
|
|
import 'package:url_launcher_linux/url_launcher_linux.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:file_selector_macos/file_selector_macos.dart';
|
|
import 'package:flutter_inappwebview_macos/flutter_inappwebview_macos.dart';
|
|
import 'package:flutter_keyboard_visibility_macos/flutter_keyboard_visibility_macos.dart';
|
|
import 'package:image_picker_macos/image_picker_macos.dart';
|
|
import 'package:open_file_mac/open_file_mac.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
|
import 'package:sqflite_darwin/sqflite_darwin.dart';
|
|
import 'package:url_launcher_macos/url_launcher_macos.dart';
|
|
import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:file_selector_windows/file_selector_windows.dart';
|
|
import 'package:flutter_inappwebview_windows/flutter_inappwebview_windows.dart';
|
|
import 'package:flutter_keyboard_visibility_windows/flutter_keyboard_visibility_windows.dart';
|
|
import 'package:image_picker_windows/image_picker_windows.dart';
|
|
import 'package:open_file_windows/open_file_windows.dart';
|
|
import 'package:path_provider_windows/path_provider_windows.dart';
|
|
import 'package:share_plus/share_plus.dart';
|
|
import 'package:shared_preferences_windows/shared_preferences_windows.dart';
|
|
import 'package:url_launcher_windows/url_launcher_windows.dart';
|
|
|
|
@pragma('vm:entry-point')
|
|
class _PluginRegistrant {
|
|
|
|
@pragma('vm:entry-point')
|
|
static void register() {
|
|
if (Platform.isAndroid) {
|
|
try {
|
|
FilePickerIO.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_picker` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
AndroidInAppWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_inappwebview_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
OpenFileAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`open_file_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharedPreferencesAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`shared_preferences_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SqfliteAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`sqflite_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
AndroidWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`webview_flutter_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isIOS) {
|
|
try {
|
|
FilePickerIO.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_picker` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
IOSInAppWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_inappwebview_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
OpenFileIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`open_file_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PointerInterceptorIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`pointer_interceptor_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharedPreferencesFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`shared_preferences_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SqfliteDarwin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`sqflite_darwin` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
WebKitWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`webview_flutter_wkwebview` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isLinux) {
|
|
try {
|
|
ConnectivityPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`connectivity_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FilePickerLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_picker` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FlutterKeyboardVisibilityPluginLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_keyboard_visibility_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
OpenFileLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`open_file_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharePlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`share_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharedPreferencesLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`shared_preferences_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isMacOS) {
|
|
try {
|
|
FilePickerMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_picker` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
MacOSInAppWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_inappwebview_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FlutterKeyboardVisibilityPluginMacos.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_keyboard_visibility_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
OpenFileMac.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`open_file_mac` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharedPreferencesFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`shared_preferences_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SqfliteDarwin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`sqflite_darwin` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
WebKitWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`webview_flutter_wkwebview` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isWindows) {
|
|
try {
|
|
FilePickerWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_picker` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
WindowsInAppWebViewPlatform.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_inappwebview_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FlutterKeyboardVisibilityPluginWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_keyboard_visibility_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
OpenFileWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`open_file_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharePlusWindowsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`share_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
SharedPreferencesWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`shared_preferences_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|