Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Jun 5, 2024
1 parent 99232e7 commit ee6ded1
Show file tree
Hide file tree
Showing 18 changed files with 178 additions and 90 deletions.
2 changes: 1 addition & 1 deletion lib/app/shared/extension/extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export 'bigint_extension.dart';
export 'double_extension.dart';
export 'iterable_extension.dart';
export 'string_extension.dart';
export 'unit8list_extension.dart';
export 'unit8_list_extension.dart';
2 changes: 1 addition & 1 deletion lib/app/shared/loading/loading_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class LoadingView {
minWidth: size.width * 0.5,
),
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.background,
color: Theme.of(context).colorScheme.surface,
borderRadius: BorderRadius.circular(10),
),
child: Padding(
Expand Down
2 changes: 1 addition & 1 deletion lib/app/shared/widget/numeric_keyboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class KeyboardButton extends StatelessWidget {
child: InkWell(
highlightColor: allowAction
? Theme.of(context).colorScheme.primary
: Theme.of(context).colorScheme.background,
: Theme.of(context).colorScheme.surface,
splashColor: allowAction
? Theme.of(context).colorScheme.primary
: Theme.of(context).colorScheme.surface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class _SoftwareLicenseViewState extends State<SoftwareLicenseView> {
const SizedBox(width: 10),
Icon(
Icons.chevron_right,
color: Theme.of(context).colorScheme.onBackground,
color: Theme.of(context).colorScheme.onSurface,
),
],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TermsPage extends StatelessWidget {
Widget build(BuildContext context) {
final l10n = context.l10n;
return BasePage(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
title: l10n.termsOfUse,
titleLeading: const BackLeadingButton(),
scrollView: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class _AccountPrivateKeyPageState extends State<AccountPrivateKeyPage>
},
icon: Icon(
Icons.qr_code,
color: Theme.of(context).colorScheme.onBackground,
color: Theme.of(context).colorScheme.onSurface,
),
),
body: BackgroundCard(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class _PrivateKeyQrPageState extends State<PrivateKeyQrPage>
child: QrImageView(
data: widget.data,
size: 200,
foregroundColor: Theme.of(context).colorScheme.onBackground,
foregroundColor: Theme.of(context).colorScheme.onSurface,
),
),
const SizedBox(height: 10),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class ConfidentialClientWidget extends StatelessWidget {
),
decoration: BoxDecoration(
border: Border.all(
color: Theme.of(context).colorScheme.onBackground,
color: Theme.of(context).colorScheme.onSurface,
),
borderRadius: const BorderRadius.all(
Radius.circular(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CredentialQrPage extends StatelessWidget {
child: QrImageView(
data: data,
size: 200,
foregroundColor: Theme.of(context).colorScheme.onBackground,
foregroundColor: Theme.of(context).colorScheme.onSurface,
),
),
const SizedBox(height: 10),
Expand Down
2 changes: 1 addition & 1 deletion lib/dashboard/qr_code/qr_display/view/qr_display_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class QrCodeDisplayPage extends StatelessWidget {
child: QrImageView(
data: data,
size: 200,
foregroundColor: Theme.of(context).colorScheme.onBackground,
foregroundColor: Theme.of(context).colorScheme.onSurface,
),
),
const SizedBox(height: 10),
Expand Down
2 changes: 1 addition & 1 deletion lib/onboarding/tos/view/onboarding_tos_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _OnBoardingTosViewState extends State<OnBoardingTosView> {
return false;
},
child: BasePage(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
title: l10n.termsOfUse,
scrollView: false,
padding: const EdgeInsets.symmetric(horizontal: 10),
Expand Down
2 changes: 1 addition & 1 deletion lib/pin_code/view/confirm_pin_code_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class _ConfirmPinCodeViewState extends State<ConfirmPinCodeView> {
titleAlignment: Alignment.topCenter,
titleLeading: const BackLeadingButton(),
padding: const EdgeInsets.symmetric(horizontal: Sizes.spaceSmall),
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
body: PinCodeWidget(
title: l10n.confirmYourPinCode,
header: widget.isFromOnboarding
Expand Down
2 changes: 1 addition & 1 deletion lib/pin_code/view/enter_new_pin_code_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class _EnterNewPinCodeViewState extends State<EnterNewPinCodeView> {
scrollView: false,
titleLeading: const BackLeadingButton(),
padding: const EdgeInsets.symmetric(horizontal: Sizes.spaceSmall),
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
body: PinCodeWidget(
title: l10n.enterNewPinCode,
header: widget.isFromOnboarding
Expand Down
2 changes: 1 addition & 1 deletion lib/pin_code/view/pin_code_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class _PinCodeViewState extends State<PinCodeView> {
return PopScope(
canPop: !widget.restrictToBack,
child: BasePage(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
title: '',
titleAlignment: Alignment.topCenter,
titleLeading: widget.restrictToBack ? null : const BackLeadingButton(),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ packages:
didkit:
dependency: transitive
description:
path: "didkit/lib/flutter"
path: "../didkit/lib/flutter"
relative: true
source: path
version: "0.0.2"
Expand Down
Loading

0 comments on commit ee6ded1

Please sign in to comment.