Skip to content

Commit

Permalink
refact(Tests): fix analyzer
Browse files Browse the repository at this point in the history
Signed-off-by: arafaysaleem <a.rafaysaleem@gmail.com>
  • Loading branch information
arafaysaleem committed Dec 23, 2021
1 parent 49d00c8 commit 1a6651c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/helper/utils/custom_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ class CustomTheme {
/// * textButtonTheme: [TextButtonTheme] without the default padding,
static late final mainTheme = ThemeData(
primaryColor: Constants.primaryColor,
accentColor: Constants.primaryColor,
colorScheme: const ColorScheme.dark().copyWith(
primary: Constants.primaryColor,
primaryVariant: Constants.primaryColor,
secondary: Constants.primaryColor,
secondaryVariant: Constants.primaryColor,
),
scaffoldBackgroundColor: Constants.scaffoldColor,
fontFamily: Constants.poppinsFont.fontFamily,
textTheme: TextTheme(
Expand Down
1 change: 1 addition & 0 deletions test/golden_tests/forgot_password_screen_golden_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ void main() {
'GIVEN we are on forgot password screen '
'AND the otp has been verified '
'WHEN the screen is rebuilt '
'AND the reset password screen is opened '
'THEN it looks like forgot_password_screen_resetPw_golden.png',
(tester) async {
//given
Expand Down

0 comments on commit 1a6651c

Please sign in to comment.