Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cat-voices): code formatting #1437

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading