213 lines
7.0 KiB
Dart
213 lines
7.0 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:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:path_provider_android/path_provider_android.dart';
|
|
import 'package:shared_preferences_android/shared_preferences_android.dart';
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
|
import 'package:flutter_local_notifications_linux/flutter_local_notifications_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:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
|
import 'package:flutter_local_notifications_windows/flutter_local_notifications_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 {
|
|
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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isIOS) {
|
|
try {
|
|
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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isLinux) {
|
|
try {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isWindows) {
|
|
try {
|
|
FlutterLocalNotificationsWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications_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'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|