From fcb568ce70d03bee995d8000ac4e955242206e3d Mon Sep 17 00:00:00 2001 From: sidhdhi canopas Date: Fri, 7 Jun 2024 11:57:43 +0530 Subject: [PATCH] format --- data/lib/errors/app_error_l10n_codes.dart | 2 +- khelo/lib/ui/flow/home/home_screen.dart | 8 ++------ .../components/match_detail_commentary_view.dart | 2 +- style/lib/button/action_button.dart | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/data/lib/errors/app_error_l10n_codes.dart b/data/lib/errors/app_error_l10n_codes.dart index c603efca..0204aa2e 100644 --- a/data/lib/errors/app_error_l10n_codes.dart +++ b/data/lib/errors/app_error_l10n_codes.dart @@ -4,4 +4,4 @@ class AppErrorL10nCodes { static const invalidVerificationCode = 'invalid-verification-code'; static const invalidPhoneNumber = 'invalid-phone-number'; static const tooManyRequests = 'too-many-requests'; -} \ No newline at end of file +} diff --git a/khelo/lib/ui/flow/home/home_screen.dart b/khelo/lib/ui/flow/home/home_screen.dart index 85449316..4da5fcfe 100644 --- a/khelo/lib/ui/flow/home/home_screen.dart +++ b/khelo/lib/ui/flow/home/home_screen.dart @@ -136,9 +136,7 @@ class _HomeScreenState extends ConsumerState { match.teams.first.wicket, match.current_playing_team_id == match.teams.elementAt(1).team.id), - const SizedBox( - height: 8 - ), + const SizedBox(height: 8), ], ), ), @@ -226,9 +224,7 @@ class _HomeScreenState extends ConsumerState { style: AppTextStyle.subtitle1 .copyWith(color: context.colorScheme.textPrimary), ), - const SizedBox( - height: 8 - ), + const SizedBox(height: 8), Text( context.l10n.home_screen_no_matches_description_text, textAlign: TextAlign.center, diff --git a/khelo/lib/ui/flow/matches/match_detail/components/match_detail_commentary_view.dart b/khelo/lib/ui/flow/matches/match_detail/components/match_detail_commentary_view.dart index 45896af8..a05d89f0 100644 --- a/khelo/lib/ui/flow/matches/match_detail/components/match_detail_commentary_view.dart +++ b/khelo/lib/ui/flow/matches/match_detail/components/match_detail_commentary_view.dart @@ -76,7 +76,7 @@ class MatchDetailCommentaryView extends ConsumerWidget { if (nextOverSummary != null && nextOverSummary.overNumber != overSummary.overNumber) { children.add(BowlerSummaryView( - bowlerSummary:nextOverSummary.bowlerStatAtStart, + bowlerSummary: nextOverSummary.bowlerStatAtStart, isForBowlerIntro: true, )); children.add(const SizedBox(height: 24)); diff --git a/style/lib/button/action_button.dart b/style/lib/button/action_button.dart index ea95858c..1cae9d9c 100644 --- a/style/lib/button/action_button.dart +++ b/style/lib/button/action_button.dart @@ -22,4 +22,4 @@ Widget actionButton( padding: padding, ); } -} \ No newline at end of file +}