153 lines
5.4 KiB
Dart
153 lines
5.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.12
|
|
|
|
import 'dart:io'; // flutter_ignore: dart_io_import.
|
|
import 'package:shared_preferences_android/shared_preferences_android.dart' as shared_preferences_android;
|
|
import 'package:url_launcher_android/url_launcher_android.dart' as url_launcher_android;
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart' as shared_preferences_foundation;
|
|
import 'package:url_launcher_ios/url_launcher_ios.dart' as url_launcher_ios;
|
|
import 'package:app_links_linux/app_links_linux.dart' as app_links_linux;
|
|
import 'package:path_provider_linux/path_provider_linux.dart' as path_provider_linux;
|
|
import 'package:shared_preferences_linux/shared_preferences_linux.dart' as shared_preferences_linux;
|
|
import 'package:url_launcher_linux/url_launcher_linux.dart' as url_launcher_linux;
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart' as shared_preferences_foundation;
|
|
import 'package:url_launcher_macos/url_launcher_macos.dart' as url_launcher_macos;
|
|
import 'package:path_provider_windows/path_provider_windows.dart' as path_provider_windows;
|
|
import 'package:shared_preferences_windows/shared_preferences_windows.dart' as shared_preferences_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 {
|
|
shared_preferences_android.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 {
|
|
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 {
|
|
shared_preferences_foundation.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 {
|
|
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 {
|
|
app_links_linux.AppLinksPluginLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`app_links_linux` 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 {
|
|
shared_preferences_linux.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 {
|
|
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 {
|
|
shared_preferences_foundation.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 {
|
|
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 {
|
|
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 {
|
|
shared_preferences_windows.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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|