193 lines
5.8 KiB
Dart
193 lines
5.8 KiB
Dart
//
|
|
// Generated file. Do not edit.
|
|
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
|
|
//
|
|
|
|
// @dart = 3.7
|
|
|
|
import 'dart:io'; // flutter_ignore: dart_io_import.
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:path_provider_android/path_provider_android.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:package_info_plus/package_info_plus.dart';
|
|
import 'package:path_provider_linux/path_provider_linux.dart';
|
|
import 'package:share_plus/share_plus.dart';
|
|
import 'package:url_launcher_linux/url_launcher_linux.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:file_picker/file_picker.dart';
|
|
import 'package:flutter_secure_storage_windows/flutter_secure_storage_windows.dart';
|
|
import 'package:package_info_plus/package_info_plus.dart';
|
|
import 'package:path_provider_windows/path_provider_windows.dart';
|
|
import 'package:share_plus/share_plus.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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} 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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isLinux) {
|
|
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 {
|
|
PackageInfoPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`package_info_plus` 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 {
|
|
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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} 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 {
|
|
FlutterSecureStorageWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_secure_storage_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PackageInfoPlusWindowsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`package_info_plus` 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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|