cpd/.dart_tool/flutter_build/dart_plugin_registrant.dart

103 lines
3.0 KiB
Dart
Raw Normal View History

//
// Generated file. Do not edit.
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
//
// @dart = 3.3
import 'dart:io'; // flutter_ignore: dart_io_import.
2024-05-24 00:01:08 +02:00
import 'package:path_provider_android/path_provider_android.dart';
import 'package:sqflite/sqflite.dart';
2024-05-24 00:01:08 +02:00
import 'package:path_provider_foundation/path_provider_foundation.dart';
import 'package:sqflite/sqflite.dart';
2024-05-24 00:01:08 +02:00
import 'package:path_provider_linux/path_provider_linux.dart';
import 'package:path_provider_foundation/path_provider_foundation.dart';
import 'package:sqflite/sqflite.dart';
2024-05-24 00:01:08 +02:00
import 'package:path_provider_windows/path_provider_windows.dart';
@pragma('vm:entry-point')
class _PluginRegistrant {
@pragma('vm:entry-point')
static void register() {
if (Platform.isAndroid) {
2024-05-24 00:01:08 +02:00
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 {
SqflitePlugin.registerWith();
} catch (err) {
print(
'`sqflite` threw an error: $err. '
'The app may not function as expected until you remove this plugin from pubspec.yaml'
);
}
} else if (Platform.isIOS) {
2024-05-24 00:01:08 +02:00
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 {
SqflitePlugin.registerWith();
} catch (err) {
print(
'`sqflite` threw an error: $err. '
'The app may not function as expected until you remove this plugin from pubspec.yaml'
);
}
} else if (Platform.isLinux) {
2024-05-24 00:01:08 +02:00
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'
);
}
} else if (Platform.isMacOS) {
2024-05-24 00:01:08 +02:00
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 {
SqflitePlugin.registerWith();
} catch (err) {
print(
'`sqflite` threw an error: $err. '
'The app may not function as expected until you remove this plugin from pubspec.yaml'
);
}
} else if (Platform.isWindows) {
2024-05-24 00:01:08 +02:00
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'
);
}
}
}
}