Skip to content

Commit

Permalink
fix(cat-voices): code formatting (#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin authored Dec 24, 2024
1 parent f3f6858 commit 77c5970
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void main() async {

patrolWidgetTest(
'Onboarding - visitor - get started screen looks as expected',
(PatrolTester $) async {
(PatrolTester $) async {
await $.pumpWidgetAndSettle(App(routerConfig: router));
await $(AppBarPage.getStartedBtn)
.tap(settleTimeout: const Duration(seconds: 10));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ import 'package:flutter/material.dart';
class AppBarPage {
static const spacesDrawerButton = Key('DrawerButton');
static const getStartedBtn = Key('GetStartedButton');

}
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class OnboardingPage {
}

static Future<PatrolFinder> detailsPartGetStartedRecoverBtn(
PatrolTester $,
) async {
PatrolTester $,
) async {
return $(registrationDetailsPanel)
.$(const Key('CreateAccountType.recover'));
}
Expand Down Expand Up @@ -128,13 +128,16 @@ class OnboardingPage {
}

static Future<void> registrationDetailsPanelLooksAsExpected(
PatrolTester $, RegistrationState getStarted,) async {
PatrolTester $,
RegistrationState getStarted,
) async {
expect(
detailsPartGetStartedTitle($),
T.get('Welcome to Catalyst'),
);
expect(
detailsPartGetStartedBody($), isNotEmpty,
detailsPartGetStartedBody($),
isNotEmpty,
);
expect(
detailsPartGetStartedQuestionText($),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class InformationPanel extends StatelessWidget {
),
const SizedBox(height: 12),
Expanded(
key: const Key('PictureContainer'), child: Center(child: picture),),
key: const Key('PictureContainer'),
child: Center(child: picture),
),
const SizedBox(height: 12),
_Footer(
progress: progress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ class AffixDecorator extends StatelessWidget {
),
SizedBox(width: gap),
],
Flexible(key: const Key('DecoratorData'),child: child,),
Flexible(
key: const Key('DecoratorData'),
child: child,
),
if (suffix != null) ...[
SizedBox(width: gap),
IconTheme(
Expand Down

0 comments on commit 77c5970

Please sign in to comment.