-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
azharhayat271
committed
May 8, 2024
1 parent
250af5c
commit ef28e43
Showing
22 changed files
with
656 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
# This is a generated file; do not edit or check into version control. | ||
mapbox_gl=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\mapbox_gl-0.16.0\\ | ||
mapbox_gl_web=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\mapbox_gl_web-0.16.0\\ | ||
url_launcher=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher-6.2.6\\ | ||
url_launcher_android=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_android-6.3.1\\ | ||
url_launcher_ios=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_ios-6.2.5\\ | ||
url_launcher_linux=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_linux-3.1.1\\ | ||
url_launcher_macos=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_macos-3.1.0\\ | ||
url_launcher_web=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_web-2.3.1\\ | ||
url_launcher_windows=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_windows-3.1.1\\ | ||
webview_flutter=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\webview_flutter-4.7.0\\ | ||
webview_flutter_android=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\webview_flutter_android-3.16.1\\ | ||
webview_flutter_wkwebview=C:\\Users\\azhar\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\webview_flutter_wkwebview-3.13.0\\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mapbox_gl","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl-0.16.0\\\\","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_wkwebview-3.13.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"mapbox_gl","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl-0.16.0\\\\","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_android-3.16.1\\\\","native_build":true,"dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"mapbox_gl_web","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl_web-0.16.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"mapbox_gl","dependencies":["mapbox_gl_web"]},{"name":"mapbox_gl_web","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2024-05-08 23:25:29.370343","version":"3.19.5"} | ||
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mapbox_gl","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl-0.16.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_ios-6.2.5\\\\","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_wkwebview-3.13.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"mapbox_gl","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl-0.16.0\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_android-6.3.1\\\\","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_android-3.16.1\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"url_launcher_macos","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_macos-3.1.0\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_linux-3.1.1\\\\","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_windows-3.1.1\\\\","native_build":true,"dependencies":[]}],"web":[{"name":"mapbox_gl_web","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\mapbox_gl_web-0.16.0\\\\","dependencies":[]},{"name":"url_launcher_web","path":"C:\\\\Users\\\\azhar\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_web-2.3.1\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"mapbox_gl","dependencies":["mapbox_gl_web"]},{"name":"mapbox_gl_web","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2024-05-09 02:40:58.550639","version":"3.19.5"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class BiomedicalEngineeringScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Text('Biomedical Engineering Department'), | ||
), | ||
body: SingleChildScrollView( | ||
padding: EdgeInsets.all(16.0), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
Text( | ||
'Programs Offered:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Masters Programs', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Bachelors Programs:', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
Text('- Biomedical Engineering'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Total Students: 200', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 20), | ||
Text( | ||
'Departmental Societies:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Biomedical Engineers Society'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Staff:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Dr. Ali Khan (Chairman)'), | ||
Text('- Dr. Sarah Ahmed'), | ||
Text('- Dr. Usman Ali'), | ||
Text('- Dr. Ayesha Siddiqua'), | ||
Text('- Miss Saba Naz'), | ||
// Add other staff members similarly | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class CivilEngineeringScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Text('Civil Engineering Department'), | ||
), | ||
body: SingleChildScrollView( | ||
padding: EdgeInsets.all(16.0), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
Text( | ||
'Programs Offered:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Masters Programs', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Bachelors Programs:', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
Text('- Civil Engineering'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Total Students: 250', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 20), | ||
Text( | ||
'Departmental Societies:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Codator'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Staff:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Dr. Muhammad Idrees (Chairman)'), | ||
Text('- Dr. Mubasshir Khatana'), | ||
Text('- Dr. Yaseen ul haq'), | ||
Text('- Dr. Iqra Muneer'), | ||
Text('- Miss Fatima Shahzadi'), | ||
Text('- Miss Sadia Tariq'), | ||
Text('- Miss Rabia Sana'), | ||
// Add other staff members similarly | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class ComputerScienceScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Text('Computer Science Department'), | ||
), | ||
body: SingleChildScrollView( | ||
padding: EdgeInsets.all(16.0), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
Text( | ||
'Programs Offered:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Masters Programs', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 10), | ||
Text( | ||
'Bachelors Programs:', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
Text('- Computer Science'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Total Students: 250', | ||
style: TextStyle(fontWeight: FontWeight.bold), | ||
), | ||
SizedBox(height: 20), | ||
Text( | ||
'Departmental Societies:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Codator'), | ||
SizedBox(height: 20), | ||
Text( | ||
'Staff:', | ||
style: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox(height: 10), | ||
Text('- Dr. Muhammad Idrees (Chairman)'), | ||
Text('- Dr. Mubasshir Khatana'), | ||
Text('- Dr. Yaseen ul haq'), | ||
Text('- Dr. Iqra Muneer'), | ||
Text('- Miss Fatima Shahzadi'), | ||
Text('- Miss Sadia Tariq'), | ||
Text('- Miss Rabia Sana'), | ||
|
||
// Add other staff members similarly | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
// DepartmentScreen.dart | ||
import 'package:flutter/material.dart'; | ||
import './cs.dart'; | ||
import './civil.dart'; | ||
import './electrical.dart'; | ||
import './mechnical.dart'; | ||
import './bme.dart'; | ||
// Import other department screen files | ||
|
||
class DepartmentScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: Text('Departments'), | ||
), | ||
body: Column( | ||
mainAxisSize: MainAxisSize.max, | ||
children: [ | ||
Expanded( | ||
child: ListView( | ||
children: [ | ||
DepartmentCard( | ||
departmentName: 'Computer Science', | ||
chairman: 'Dr. Muhammad Idrees', | ||
icon: Icons.computer, | ||
departmentScreen: ComputerScienceScreen(), | ||
), | ||
DepartmentCard( | ||
departmentName: 'Civil Engineering', | ||
chairman: 'Dr. Khawaja Adeel', | ||
icon: Icons.flash_on, | ||
departmentScreen: CivilEngineeringScreen(), | ||
), | ||
|
||
DepartmentCard( | ||
departmentName: 'Electrical Engineering', | ||
chairman: 'Dr. Muhammad Usman', | ||
icon: Icons.electrical_services, | ||
departmentScreen: ElectricalEngineeringScreen(), | ||
), | ||
|
||
DepartmentCard( | ||
departmentName: 'Mechanical Engineering', | ||
chairman: 'Dr. Muhammad Usman', | ||
icon: Icons.engineering, | ||
departmentScreen: MechanicalEngineeringScreen(), | ||
), | ||
|
||
DepartmentCard( | ||
departmentName: 'Biomedical Engineering', | ||
chairman: 'Dr. Muhammad Usman', | ||
icon: Icons.medical_services, | ||
departmentScreen: BiomedicalEngineeringScreen(), | ||
), | ||
|
||
// Add other department cards similarly | ||
], | ||
), | ||
), | ||
], | ||
), | ||
); | ||
} | ||
} | ||
|
||
class DepartmentCard extends StatelessWidget { | ||
final String departmentName; | ||
final String chairman; | ||
final IconData icon; | ||
final Widget departmentScreen; | ||
|
||
const DepartmentCard({ | ||
required this.departmentName, | ||
required this.chairman, | ||
required this.icon, | ||
required this.departmentScreen, | ||
}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Card( | ||
elevation: 5.0, | ||
child: ListTile( | ||
leading: Icon(icon), | ||
title: Text(departmentName), | ||
subtitle: Text('Chairman: $chairman'), | ||
onTap: () { | ||
Navigator.push( | ||
context, | ||
MaterialPageRoute(builder: (context) => departmentScreen), | ||
); | ||
}, | ||
), | ||
); | ||
} | ||
} |
Oops, something went wrong.