From 7832a9372f81e99e35bb94f10aae456e087a9724 Mon Sep 17 00:00:00 2001 From: Trina Bakshi Date: Thu, 29 May 2025 11:42:40 +0530 Subject: [PATCH] Pay_button_animation --- lib/features/dashboard/screens/dashboard_screen.dart | 2 ++ .../fund_transfer/screens/transaction_success_screen.dart | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/features/dashboard/screens/dashboard_screen.dart b/lib/features/dashboard/screens/dashboard_screen.dart index 20eb8e8..612fbcb 100644 --- a/lib/features/dashboard/screens/dashboard_screen.dart +++ b/lib/features/dashboard/screens/dashboard_screen.dart @@ -30,7 +30,9 @@ class _DashboardScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( + backgroundColor: const Color(0xfff5f9fc), appBar: AppBar( + backgroundColor: const Color(0xfff5f9fc), automaticallyImplyLeading: false, title: const Text('kMobile', style: TextStyle(color: Colors.blueAccent, fontWeight: FontWeight.w500),), diff --git a/lib/features/fund_transfer/screens/transaction_success_screen.dart b/lib/features/fund_transfer/screens/transaction_success_screen.dart index d5715cf..e1594c5 100644 --- a/lib/features/fund_transfer/screens/transaction_success_screen.dart +++ b/lib/features/fund_transfer/screens/transaction_success_screen.dart @@ -5,7 +5,7 @@ import 'package:path_provider/path_provider.dart'; import 'package:screenshot/screenshot.dart'; import 'package:social_share/social_share.dart'; -import '../../dashboard/screens/dashboard_screen.dart'; +import '../../../app.dart'; class TransactionSuccessScreen extends StatefulWidget { const TransactionSuccessScreen({super.key}); @@ -116,7 +116,7 @@ class _TransactionSuccessScreen extends State { Navigator.push( context, MaterialPageRoute( - builder: (context) => const DashboardScreen())); + builder: (context) => const NavigationScaffold())); }, style: ElevatedButton.styleFrom( shape: const StadiumBorder(),