diff --git a/app/lib/main.dart b/app/lib/main.dart index bfaf37d..4ac00fe 100644 --- a/app/lib/main.dart +++ b/app/lib/main.dart @@ -14,9 +14,8 @@ Future main() async { theme: ThemeData( useMaterial3: true, fontFamily: GoogleFonts.lato().fontFamily, - // colorSchemeSeed: Colors.deepPurple, - appBarTheme: AppBarTheme( - backgroundColor: Colors.deepPurple[800], + appBarTheme: const AppBarTheme( + backgroundColor: Color.fromARGB(255, 15, 91, 254), ), ), ), diff --git a/app/lib/presentation/screens/favourites.dart b/app/lib/presentation/screens/favourites.dart index 159ba02..a80c0c1 100644 --- a/app/lib/presentation/screens/favourites.dart +++ b/app/lib/presentation/screens/favourites.dart @@ -243,9 +243,9 @@ class Favourite extends StatelessWidget { return SizedBox( height: size.height, width: size.width, - child: Center( + child: const Center( child: CircularProgressIndicator( - color: Colors.deepPurple[800], + color: Color.fromARGB(255, 15, 91, 254), ), ), ); diff --git a/app/lib/presentation/screens/home.dart b/app/lib/presentation/screens/home.dart index e1bc66c..699ad44 100644 --- a/app/lib/presentation/screens/home.dart +++ b/app/lib/presentation/screens/home.dart @@ -20,9 +20,9 @@ class Home extends StatelessWidget { style: titleStyles, ), centerTitle: true, - leading: Icon( + leading: const Icon( Icons.ac_unit, - color: Colors.deepPurple[800], + color: Color.fromARGB(255, 15, 91, 254), ), bottom: PreferredSize( preferredSize: const Size.fromHeight(50.0), @@ -237,9 +237,9 @@ class Home extends StatelessWidget { return SizedBox( height: size.height, width: size.width, - child: Center( + child: const Center( child: CircularProgressIndicator( - color: Colors.deepPurple[800], + color: Color.fromARGB(255, 15, 91, 254), ), ), ); diff --git a/app/lib/presentation/screens/splash_screen.dart b/app/lib/presentation/screens/splash_screen.dart index de055b3..2745d95 100644 --- a/app/lib/presentation/screens/splash_screen.dart +++ b/app/lib/presentation/screens/splash_screen.dart @@ -38,11 +38,11 @@ class _SplashscreenState extends State { ), // ignore: prefer_const_constructors Center( - child: Column( + child: const Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - const Text( + Text( "Bankimoon", style: TextStyle( fontWeight: FontWeight.bold, @@ -50,7 +50,7 @@ class _SplashscreenState extends State { color: Colors.white, ), ), - const SizedBox( + SizedBox( height: 10, ), SpinKitWave( diff --git a/app/lib/presentation/widgets/card.dart b/app/lib/presentation/widgets/card.dart index bda953d..ec17935 100644 --- a/app/lib/presentation/widgets/card.dart +++ b/app/lib/presentation/widgets/card.dart @@ -100,7 +100,7 @@ class AccountCard extends StatelessWidget { child: Icon(Icons.favorite, color: isFavourite ? Colors.red[400] - : Colors.deepPurple), + : Colors.grey), ), const InkWell( //Todo: Add a dropdown menu diff --git a/app/lib/presentation/widgets/nav_bar.dart b/app/lib/presentation/widgets/nav_bar.dart index 6b89427..cdc17b2 100644 --- a/app/lib/presentation/widgets/nav_bar.dart +++ b/app/lib/presentation/widgets/nav_bar.dart @@ -11,7 +11,7 @@ class BottomNavBar extends StatelessWidget { @override Widget build(BuildContext context) { return BottomAppBar( - color: Color.fromARGB(255, 15, 91, 254), + color: const Color.fromARGB(255, 15, 91, 254), shape: const CircularNotchedRectangle(), padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom), @@ -53,7 +53,7 @@ class BottomNavBar extends StatelessWidget { }, ), // ignore: prefer_const_constructors - Text( + const Text( 'Favorites', style: TextStyle(color: Colors.white), ), @@ -63,7 +63,7 @@ class BottomNavBar extends StatelessWidget { mainAxisSize: MainAxisSize.min, children: [ IconButton( - icon: Icon( + icon: const Icon( Icons.add, color: Colors.white, // Set the icon color to white ), @@ -71,7 +71,7 @@ class BottomNavBar extends StatelessWidget { Navigator.pushNamed(context, addAccount); }, ), - Text( + const Text( 'Add Account', style: TextStyle(color: Colors.white), ), @@ -81,13 +81,13 @@ class BottomNavBar extends StatelessWidget { mainAxisSize: MainAxisSize.min, children: [ IconButton( - icon: Icon( + icon: const Icon( Icons.account_circle, color: Colors.white, // Set the icon color to white ), onPressed: () {}, ), - Text( + const Text( 'My Accounts', style: TextStyle(color: Colors.white), ),