diff --git a/.gitignore b/.gitignore index 267cd4f..1a8796f 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,9 @@ example/pubspec.lock build/ .flutter-plugins .flutter-plugins-dependencies -test/failures \ No newline at end of file +test/failures +.vscode/settings.json +**/GeneratedPluginRegistrant.swift +**/generated_plugin_registrant.cc +**/generated_plugin_registrant.h +**/generated_plugins.cmake \ No newline at end of file diff --git a/example/.gitignore b/example/.gitignore index 75cb76c..fafbadb 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -32,6 +32,11 @@ migrate_working_dir/ .pub-cache/ .pub/ /build/ +.vscode/settings.json +**/GeneratedPluginRegistrant.swift +**/generated_plugin_registrant.cc +**/generated_plugin_registrant.h +**/generated_plugins.cmake # Symbolication related app.*.symbols diff --git a/example/macos/Flutter/GeneratedPluginRegistrant.swift b/example/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 7af0528..0000000 --- a/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,16 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import device_info_plus -import flutter_blue_plus -import shared_preferences_foundation - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) - FlutterBluePlusPlugin.register(with: registry.registrar(forPlugin: "FlutterBluePlusPlugin")) - SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) -} diff --git a/lib/src/ui/l10n/sec_locale.dart b/lib/src/ui/l10n/sec_locale.dart index bd28543..1cb3abb 100644 --- a/lib/src/ui/l10n/sec_locale.dart +++ b/lib/src/ui/l10n/sec_locale.dart @@ -63,7 +63,7 @@ import 'sec_locale_en.dart'; /// property. abstract class SecLocalizations { SecLocalizations(String locale) - : localeName = intl.Intl.canonicalizedLocale(locale.toString()); + : localeName = intl.Intl.canonicalizedLocale(locale.toString()); final String localeName; @@ -86,16 +86,16 @@ abstract class SecLocalizations { /// of delegates is preferred or required. static const List> localizationsDelegates = >[ - delegate, - GlobalMaterialLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - ]; + delegate, + GlobalMaterialLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + ]; /// A list of this localizations delegate's supported locales. static const List supportedLocales = [ Locale('de'), - Locale('en'), + Locale('en') ]; /// No description provided for @successfullyVerified. @@ -258,9 +258,8 @@ SecLocalizations lookupSecLocalizations(Locale locale) { } throw FlutterError( - 'SecLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' - 'an issue with the localizations generation tool. Please file an issue ' - 'on GitHub with a reproducible sample app and the gen-l10n configuration ' - 'that was used.', - ); + 'SecLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' + 'an issue with the localizations generation tool. Please file an issue ' + 'on GitHub with a reproducible sample app and the gen-l10n configuration ' + 'that was used.'); }