diff --git a/expense_tracker/lib/Components/navbar.dart b/expense_tracker/lib/Components/navbar.dart index cc68bcd..a9893ca 100644 --- a/expense_tracker/lib/Components/navbar.dart +++ b/expense_tracker/lib/Components/navbar.dart @@ -60,13 +60,6 @@ class DesktopNavbar extends StatelessWidget { const SizedBox( width: 30, ), - const Text( - "About us", - style: TextStyle(color: Colors.white), - ), - const SizedBox( - width: 30, - ), const Text( "Profile", style: TextStyle(color: Colors.white), diff --git a/expense_tracker/lib/Screens/activity.dart b/expense_tracker/lib/Screens/activity.dart new file mode 100644 index 0000000..9d74eed --- /dev/null +++ b/expense_tracker/lib/Screens/activity.dart @@ -0,0 +1,70 @@ +import 'package:flutter/material.dart'; +import '../Components/navbar.dart'; +import './myhomepage.dart'; + +// import 'package:firebase_auth/firebase_auth.dart' as firebase_auth; + +class Activity extends StatefulWidget { + const Activity({super.key}); + + @override + State createState() => _ActivityState(); +} + +class _ActivityState extends State { + @override + Widget build(BuildContext context) { + return Scaffold( + body: SingleChildScrollView( + child: Container( + height: MediaQuery.of(context).size.height, + width: MediaQuery.of(context).size.width, + decoration: const BoxDecoration( + gradient: LinearGradient( + begin: Alignment.centerLeft, + end: Alignment.centerRight, + colors: [ + Color.fromARGB(255, 83, 78, 212), + Color.fromARGB(255, 28, 28, 28) + ])), + child: Column( + crossAxisAlignment: CrossAxisAlignment.center, + // mainAxisAlignment: MainAxisAlignment.center, + children: [ + const Navbar(), + const Padding( + padding: EdgeInsets.symmetric(vertical: 20.0, horizontal: 40.0), + ), + Container( + width: 600, + // height: 50, + child: Card( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Padding( + padding: EdgeInsetsDirectional.fromSTEB(20, 0, 0, 0), + // child: Text("Description", + // style: TextStyle( + // color: Color.fromARGB(255, 255, 255, 255))) + + child: const ListTile( + title: Text('kjasdhksgjdv'), + subtitle: Text('jdfndnhgvfvdsjn'), + ), + ), + // SizedBox( + // width: 0, + // height: 50, + // ), + ], + ), + ), + ), + ], + ), + ), + ), + ); + } +} diff --git a/expense_tracker/lib/main.dart b/expense_tracker/lib/main.dart index dc9edac..33acff6 100644 --- a/expense_tracker/lib/main.dart +++ b/expense_tracker/lib/main.dart @@ -1,5 +1,4 @@ -import 'package:expense_tracker/Screens/profile.dart'; -import './Screens/profile.dart'; +import 'package:expense_tracker/Screens/activity.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; import 'package:flutter/material.dart'; @@ -20,7 +19,7 @@ class MyApp extends StatelessWidget { return MaterialApp( title: 'Expense Tracker', theme: ThemeData(primarySwatch: Colors.blue, fontFamily: "Montserrat"), - home: Profile(), + home: Activity(), ); } }