Skip to content

Commit

Permalink
linter update and class update
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Feb 27, 2024
1 parent 3ddf250 commit 6b8355a
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 24 deletions.
5 changes: 3 additions & 2 deletions lib/dashboard/home/home/widgets/wallet_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ class WalletDialog extends StatelessWidget {
Text(
l10n.createTitle,
style: Theme.of(context).textTheme.defaultDialogTitle.copyWith(
fontSize: 18,
color: Theme.of(context).colorScheme.dialogText),
fontSize: 18,
color: Theme.of(context).colorScheme.dialogText,
),
textAlign: TextAlign.center,
),
const SizedBox(height: 5),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ class _CredentialsDetailsViewState extends State<CredentialsDetailsView> {
final profileSetting =
context.read<ProfileCubit>().state.model.profileSetting;

final vcFormatType = profileSetting
.selfSovereignIdentityOptions.customOidc4vcProfile.vcFormatType;

return BasePage(
title: widget.readOnly ? l10n.linkedInProfile : l10n.cardDetails,
titleAlignment: Alignment.topCenter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:convert';

import 'package:altme/app/app.dart';
import 'package:altme/dashboard/dashboard.dart';
import 'package:altme/dashboard/home/home.dart';
import 'package:did_kit/did_kit.dart';
import 'package:equatable/equatable.dart';
import 'package:file_saver/file_saver.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:altme/app/app.dart';
import 'package:altme/dashboard/dashboard.dart';
import 'package:altme/dashboard/home/home.dart';
import 'package:altme/l10n/l10n.dart';
import 'package:did_kit/did_kit.dart';
import 'package:file_saver/file_saver.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ class CredentialModel extends Equatable {
PendingInfo? pendingInfo,
String? format,
Map<String, dynamic>? claims,
Map<String, dynamic>? credentialSupported,
}) {
return CredentialModel(
id: id ?? this.id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ class Oidc4vcCredentialPickView extends StatelessWidget {
final profileSetting =
context.read<ProfileCubit>().state.model.profileSetting;

final vcFormatType = profileSetting
.selfSovereignIdentityOptions
.customOidc4vcProfile
.vcFormatType;

final DiscoverDummyCredential discoverDummyCredential =
credentialSubjectType.dummyCredential(profileSetting);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ class _CredentialsReceivePageState extends State<CredentialsReceivePage> {
final profileSetting =
context.read<ProfileCubit>().state.model.profileSetting;

final vcFormatType = profileSetting
.selfSovereignIdentityOptions.customOidc4vcProfile.vcFormatType;

return BasePage(
title: l10n.credentialReceiveTitle,
useSafeArea: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:altme/app/app.dart';
import 'package:altme/dashboard/dashboard.dart';
import 'package:flutter/material.dart';
import 'package:oidc4vc/oidc4vc.dart';

class CredentialDisplay extends StatelessWidget {
const CredentialDisplay({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ class MissingCredentialsCubit extends Cubit<MissingCredentialsState> {

final profileSetting = profileCubit.state.model.profileSetting;

final vcFormatType = profileSetting
.selfSovereignIdentityOptions.customOidc4vcProfile.vcFormatType;

if (credentialManifest != null) {
final PresentationDefinition? presentationDefinition =
credentialManifest!.presentationDefinition;
Expand Down
1 change: 0 additions & 1 deletion lib/oidc4vc/get_authorization_uri_for_issuer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'package:did_kit/did_kit.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:oidc4vc/oidc4vc.dart';
import 'package:uuid/uuid.dart';
import 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart';

Future<void> getAuthorizationUriForIssuer({
required String scannedResponse,
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1485,10 +1485,10 @@ packages:
dependency: "direct main"
description:
name: matrix
sha256: cc054acbc89777d06a0d17bff5e3ab2eca6bdd3ff89b076d2a552ffc30b7b8aa
sha256: "64b71793b689f57521f24d5412dadd090a61762084971ff13c7b8870b3cebeb7"
url: "https://pub.dev"
source: hosted
version: "0.25.10"
version: "0.25.11"
matrix_api_lite:
dependency: transitive
description:
Expand Down Expand Up @@ -2417,10 +2417,10 @@ packages:
dependency: transitive
description:
name: url_launcher_ios
sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03"
sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5"
url: "https://pub.dev"
source: hosted
version: "6.2.4"
version: "6.2.5"
url_launcher_linux:
dependency: transitive
description:
Expand Down

0 comments on commit 6b8355a

Please sign in to comment.