Skip to content

Commit

Permalink
Fix: Solve overflow issue in credential details
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jul 5, 2024
1 parent 017c0e6 commit 8d6ad11
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lib/selective_disclosure/widget/display_selective_disclosure.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,16 @@ class DisplaySelectiveDisclosure extends StatelessWidget {
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
CredentialField(
padding: EdgeInsets.only(top: isFirstElement ? 10 : 0),
title: title,
value: claims.data,
titleColor: Theme.of(context).colorScheme.onSurface,
valueColor: Theme.of(context).colorScheme.onSurface,
showVertically: showVertically,
Flexible(
child: CredentialField(
padding:
EdgeInsets.only(top: isFirstElement ? 10 : 0),
title: title,
value: claims.data,
titleColor: Theme.of(context).colorScheme.onSurface,
valueColor: Theme.of(context).colorScheme.onSurface,
showVertically: showVertically,
),
),
if (selectiveDisclosureState != null &&
claims.isfromDisclosureOfJWT) ...[
Expand Down

0 comments on commit 8d6ad11

Please sign in to comment.