263 lines
9.4 KiB
Dart
263 lines
9.4 KiB
Dart
//
|
|
// Generated file. Do not edit.
|
|
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
|
|
//
|
|
|
|
// @dart = 3.4
|
|
|
|
import 'dart:io'; // flutter_ignore: dart_io_import.
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart' as flutter_local_notifications;
|
|
import 'package:path_provider_android/path_provider_android.dart' as path_provider_android;
|
|
import 'package:sqflite_android/sqflite_android.dart' as sqflite_android;
|
|
import 'package:url_launcher_android/url_launcher_android.dart' as url_launcher_android;
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart' as flutter_local_notifications;
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart' as path_provider_foundation;
|
|
import 'package:sqflite_darwin/sqflite_darwin.dart' as sqflite_darwin;
|
|
import 'package:url_launcher_ios/url_launcher_ios.dart' as url_launcher_ios;
|
|
import 'package:connectivity_plus/connectivity_plus.dart' as connectivity_plus;
|
|
import 'package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart' as flutter_local_notifications_linux;
|
|
import 'package:package_info_plus/package_info_plus.dart' as package_info_plus;
|
|
import 'package:path_provider_linux/path_provider_linux.dart' as path_provider_linux;
|
|
import 'package:share_plus/share_plus.dart' as share_plus;
|
|
import 'package:url_launcher_linux/url_launcher_linux.dart' as url_launcher_linux;
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart' as flutter_local_notifications;
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart' as path_provider_foundation;
|
|
import 'package:sqflite_darwin/sqflite_darwin.dart' as sqflite_darwin;
|
|
import 'package:url_launcher_macos/url_launcher_macos.dart' as url_launcher_macos;
|
|
import 'package:flutter_secure_storage_windows/flutter_secure_storage_windows.dart' as flutter_secure_storage_windows;
|
|
import 'package:package_info_plus/package_info_plus.dart' as package_info_plus;
|
|
import 'package:path_provider_windows/path_provider_windows.dart' as path_provider_windows;
|
|
import 'package:share_plus/share_plus.dart' as share_plus;
|
|
import 'package:speech_to_text_windows/speech_to_text_windows.dart' as speech_to_text_windows;
|
|
import 'package:url_launcher_windows/url_launcher_windows.dart' as url_launcher_windows;
|
|
|
|
@pragma('vm:entry-point')
|
|
class _PluginRegistrant {
|
|
|
|
@pragma('vm:entry-point')
|
|
static void register() {
|
|
if (Platform.isAndroid) {
|
|
try {
|
|
flutter_local_notifications.AndroidFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
path_provider_android.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 {
|
|
sqflite_android.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 {
|
|
url_launcher_android.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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isIOS) {
|
|
try {
|
|
flutter_local_notifications.IOSFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
path_provider_foundation.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 {
|
|
sqflite_darwin.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 {
|
|
url_launcher_ios.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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isLinux) {
|
|
try {
|
|
connectivity_plus.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 {
|
|
flutter_local_notifications_linux.LinuxFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
package_info_plus.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 {
|
|
path_provider_linux.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 {
|
|
share_plus.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 {
|
|
url_launcher_linux.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 {
|
|
flutter_local_notifications.MacOSFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
path_provider_foundation.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 {
|
|
sqflite_darwin.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 {
|
|
url_launcher_macos.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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isWindows) {
|
|
try {
|
|
flutter_secure_storage_windows.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 {
|
|
package_info_plus.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 {
|
|
path_provider_windows.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 {
|
|
share_plus.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 {
|
|
speech_to_text_windows.SpeechToTextWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`speech_to_text_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
url_launcher_windows.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'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|