mirror of
https://github.com/authpass/authpass.git
synced 2025-08-06 17:21:47 +08:00
update dependencies, fixed all warnings from build_runner
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
targets:
|
||||
$default:
|
||||
builders:
|
||||
builder_static_text|static_text:
|
||||
generate_for:
|
||||
- lib/**/*.dart
|
||||
options:
|
||||
content: '// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element'
|
||||
#targets:
|
||||
# $default:
|
||||
# builders:
|
||||
# builder_static_text|static_text:
|
||||
# generate_for:
|
||||
# - lib/**/*.dart
|
||||
# options:
|
||||
# content: '// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element'
|
||||
|
@ -17,7 +17,7 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
@override
|
||||
void trackLaunch({required Brightness systemBrightness}) =>
|
||||
trackEvent('launch', <String, dynamic>{
|
||||
'systemBrightness': systemBrightness?.toString()?.substring(11)
|
||||
'systemBrightness': systemBrightness?.toString().substring(11)
|
||||
});
|
||||
@override
|
||||
void _trackInit(
|
||||
@ -62,8 +62,8 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
trackEvent('openFile2',
|
||||
<String, dynamic>{'generator': generator, 'version': version});
|
||||
@override
|
||||
void trackSelectEntry({EntrySelectionType? type}) => trackEvent('selectEntry',
|
||||
<String, dynamic>{'type': type?.toString()?.substring(19)});
|
||||
void trackSelectEntry({EntrySelectionType? type}) => trackEvent(
|
||||
'selectEntry', <String, dynamic>{'type': type.toString().substring(19)});
|
||||
@override
|
||||
void trackCopyField({required String key}) =>
|
||||
trackEvent('copyField', <String, dynamic>{'key': key});
|
||||
@ -104,7 +104,7 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
void trackAttachmentAdd(AttachmentAddType action, String ext, int value,
|
||||
{String category = 'attachmentAdd'}) =>
|
||||
trackEvent('attachmentAdd', <String, dynamic>{
|
||||
'action': action?.toString()?.substring(18),
|
||||
'action': action?.toString().substring(18),
|
||||
'ext': ext,
|
||||
'value': value,
|
||||
'category': category
|
||||
@ -113,7 +113,7 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
void trackCloudAuth(CloudAuthAction action,
|
||||
{String label = 'auth', String category = 'cloud'}) =>
|
||||
trackEvent('cloudAuth', <String, dynamic>{
|
||||
'action': action?.toString()?.substring(16),
|
||||
'action': action?.toString().substring(16),
|
||||
'label': label,
|
||||
'category': category
|
||||
});
|
||||
@ -121,7 +121,7 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
void trackGroupDelete(GroupDeleteResult result,
|
||||
{String category = 'group'}) =>
|
||||
trackEvent('groupDelete', <String, dynamic>{
|
||||
'result': result?.toString()?.substring(18),
|
||||
'result': result?.toString().substring(18),
|
||||
'category': category
|
||||
});
|
||||
@override
|
||||
@ -156,7 +156,7 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
required String source,
|
||||
String category = 'tryUnlock'}) =>
|
||||
trackEvent('tryUnlock', <String, dynamic>{
|
||||
'action': action?.toString()?.substring(16),
|
||||
'action': action?.toString().substring(16),
|
||||
'ext': ext,
|
||||
'source': source,
|
||||
'category': category
|
||||
@ -174,17 +174,11 @@ class _$AnalyticsEvents extends AnalyticsEvents with AnalyticsEventStubsImpl {
|
||||
@override
|
||||
void trackEntryAction(EntryActionType label, {String action = 'entry'}) =>
|
||||
trackEvent('entryAction', <String, dynamic>{
|
||||
'label': label?.toString()?.substring(16),
|
||||
'label': label?.toString().substring(16),
|
||||
'action': action
|
||||
});
|
||||
@override
|
||||
void trackBackupBanner(BackupBannerAction action) => trackEvent(
|
||||
'backupBanner',
|
||||
<String, dynamic>{'action': action?.toString()?.substring(19)});
|
||||
<String, dynamic>{'action': action?.toString().substring(19)});
|
||||
}
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'app_data.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// BuiltValueGenerator
|
||||
// **************************************************************************
|
||||
@ -816,9 +810,3 @@ class AppDataBuilder implements Builder<AppData, AppDataBuilder> {
|
||||
}
|
||||
|
||||
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'authpass_cloud_bloc.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
@ -24,9 +18,3 @@ Map<String, dynamic> _$_StoredTokenToJson(_StoredToken instance) =>
|
||||
'authToken': instance.authToken,
|
||||
'isConfirmed': instance.isConfirmed,
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'cloud_storage_provider.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// BuiltValueGenerator
|
||||
// **************************************************************************
|
||||
@ -227,9 +221,3 @@ class SearchResponseBuilder
|
||||
}
|
||||
|
||||
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'dropbox_models.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
@ -88,9 +82,3 @@ Map<String, dynamic> _$FileMetadataToJson(FileMetadata instance) =>
|
||||
'path_display': instance.pathDisplay,
|
||||
'rev': instance.rev,
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'onedrive_models.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
@ -86,9 +80,3 @@ Map<String, dynamic> _$OneDriveFileToJson(OneDriveFile instance) =>
|
||||
<String, dynamic>{
|
||||
'mimeType': instance.mimeType,
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
@ -2,12 +2,6 @@
|
||||
|
||||
part of 'webdav_models.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
@ -39,9 +33,3 @@ Map<String, dynamic> _$WebDavFileMetadataToJson(WebDavFileMetadata instance) =>
|
||||
<String, dynamic>{
|
||||
'etag': instance.etag,
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
2
authpass/lib/env/_base.dart
vendored
2
authpass/lib/env/_base.dart
vendored
@ -23,7 +23,7 @@ abstract class AppInfo implements Built<AppInfo, AppInfoBuilder> {
|
||||
}
|
||||
|
||||
@freezed
|
||||
abstract class EnvSecrets with _$EnvSecrets {
|
||||
class EnvSecrets with _$EnvSecrets {
|
||||
const factory EnvSecrets({
|
||||
@nullable required String? analyticsAmplitudeApiKey,
|
||||
@nullable required String? analyticsGoogleAnalyticsId,
|
||||
|
12
authpass/lib/env/_base.g.dart
vendored
12
authpass/lib/env/_base.g.dart
vendored
@ -2,12 +2,6 @@
|
||||
|
||||
part of '_base.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// AnalyticsEventGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: unnecessary_statements
|
||||
|
||||
// **************************************************************************
|
||||
// BuiltValueGenerator
|
||||
// **************************************************************************
|
||||
@ -209,9 +203,3 @@ class FeatureFlagsBuilder
|
||||
}
|
||||
|
||||
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new
|
||||
|
||||
// **************************************************************************
|
||||
// StaticTextGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// ignore_for_file: implicit_dynamic_parameter,strong_mode_implicit_dynamic_parameter,strong_mode_implicit_dynamic_variable,non_constant_identifier_names,unused_element
|
||||
|
2
authpass/lib/env/env.dart
vendored
2
authpass/lib/env/env.dart
vendored
@ -3,7 +3,7 @@ import 'package:authpass/main.dart';
|
||||
import 'package:authpass/utils/platform.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
|
||||
final _logger = Logger('env');
|
||||
|
||||
|
@ -7,7 +7,7 @@ import 'package:kdbx/kdbx.dart';
|
||||
part 'cloud_viewmodel.freezed.dart';
|
||||
|
||||
@freezed
|
||||
abstract class EmailViewModel with _$EmailViewModel {
|
||||
class EmailViewModel with _$EmailViewModel {
|
||||
const factory EmailViewModel({
|
||||
@nullable EmailMessage? emailMessage,
|
||||
@nullable MimeMessage? mimeMessage,
|
||||
|
@ -261,7 +261,7 @@ class IconSelectorCustomIcon extends StatelessWidget {
|
||||
}
|
||||
|
||||
@freezed
|
||||
abstract class SelectedIcon with _$SelectedIcon {
|
||||
class SelectedIcon with _$SelectedIcon {
|
||||
const factory SelectedIcon.predefined(KdbxIcon icon) =
|
||||
_SelectedIconPredefined;
|
||||
|
||||
|
@ -10,7 +10,7 @@ import biometric_storage
|
||||
import file_picker_writable
|
||||
import file_selector_macos
|
||||
import macos_secure_bookmarks
|
||||
import package_info
|
||||
import package_info_plus_macos
|
||||
import path_provider_macos
|
||||
import sqflite
|
||||
import url_launcher_macos
|
||||
@ -22,7 +22,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||
FilePickerWritablePlugin.register(with: registry.registrar(forPlugin: "FilePickerWritablePlugin"))
|
||||
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
|
||||
SecureBookmarksPlugin.register(with: registry.registrar(forPlugin: "SecureBookmarksPlugin"))
|
||||
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
|
||||
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
|
||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
|
||||
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
|
||||
|
@ -28,7 +28,7 @@ packages:
|
||||
name: analytics_event_gen
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
version: "1.1.1"
|
||||
analyzer:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -190,13 +190,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "7.0.0"
|
||||
builder_static_text:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: builder_static_text
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.0"
|
||||
built_collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -603,7 +596,7 @@ packages:
|
||||
name: flutter_store_listing
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.0+1"
|
||||
version: "0.2.1"
|
||||
flutter_svg:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -924,13 +917,48 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
package_info:
|
||||
package_info_plus:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: package_info
|
||||
name: package_info_plus
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.2"
|
||||
version: "1.0.3"
|
||||
package_info_plus_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_linux
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
package_info_plus_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_macos
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.1"
|
||||
package_info_plus_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
package_info_plus_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
package_info_plus_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus_windows
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
path:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -53,7 +53,7 @@ dependencies:
|
||||
git:
|
||||
url: https://github.com/hpoul/usage.git
|
||||
ref: custom-user-agent-rebased
|
||||
package_info: ^2.0.0
|
||||
package_info_plus: ^1.0.3
|
||||
# package_info: ^0.4.0+13
|
||||
# package_info_macos:
|
||||
# git:
|
||||
@ -71,7 +71,7 @@ dependencies:
|
||||
flutter_colorpicker: ^0.5.0
|
||||
flutter_speed_dial: ^3.0.5
|
||||
flutter_email_sender: ^5.0.0
|
||||
flutter_store_listing: ^0.2.0+1
|
||||
flutter_store_listing: ^0.2.1
|
||||
|
||||
biometric_storage: ^2.0.1
|
||||
# biometric_storage:
|
||||
@ -181,9 +181,9 @@ dev_dependencies:
|
||||
# analyzer: ^0.39.17
|
||||
json_serializable: ^4.0.2
|
||||
build_runner: ^2.0.2
|
||||
builder_static_text: ^0.1.0
|
||||
# builder_static_text: ^0.1.0
|
||||
built_value_generator: ^8.0.6
|
||||
analytics_event_gen: ^1.1.0
|
||||
analytics_event_gen: ^1.1.1
|
||||
freezed: ^0.14.1+3
|
||||
plugin_platform_interface: ^2.0.0
|
||||
msix: ^2.1.3
|
||||
|
2
deps/diac
vendored
2
deps/diac
vendored
Submodule deps/diac updated: d7dda5a87c...19c98664ae
Reference in New Issue
Block a user