Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates on academic_service.dart file and screens for Academic module as provided in master file (AC-2) #126

Open
wants to merge 9 commits into
base: test
Choose a base branch
from
Prev Previous commit
Next Next commit
Update thesis_home_page.dart
bchetule authored Apr 22, 2023
commit 55982c68edc869a9996b04d6269f1fcb0e6f2d67
84 changes: 56 additions & 28 deletions lib/screens/Academic/Thesis/thesis_home_page.dart
Original file line number Diff line number Diff line change
@@ -15,9 +15,9 @@ class _ThesisHomePageState extends State<ThesisHomePage> {
length: 2,
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.black,
backgroundColor: Colors.deepOrangeAccent,
title: Text(
"FUSION",
"Thesis",
style: TextStyle(color: Colors.white),
),
actions: <Widget>[
@@ -34,34 +34,62 @@ class _ThesisHomePageState extends State<ThesisHomePage> {
child: Icon(Icons.more_vert),
),
],
bottom: TabBar(
isScrollable: true,
indicatorColor: Colors.white,
indicatorWeight: 6.0,
tabs: [
Tab(
child: Container(
child: Text(
'Registered Thesis',
),
),
),
Tab(
child: Container(
child: Text(
'Add Thesis',
),
),
),
],
),
),
],
drawer: SideDrawer(),
body: TabBarView(
children: [
RegisteredThesis(),
AddThesis(),
],
body: Container(
child: ListView(
shrinkWrap: true,
physics: ClampingScrollPhysics(),
children: <Widget>[
DefaultTabController(
length: 5, // length of tabs
initialIndex: 0,
child: Column(children: <Widget>[
Container(
child: TabBar(
labelColor: Colors.deepOrangeAccent,
unselectedLabelColor: Colors.black,
isScrollable: true,
indicatorColor: Colors.black,
indicatorWeight: 6.0,
tabs: [
Tab(
child: Container(
child: Text(
'Registered Thesis',
),
),
),
Tab(
child: Container(
child: Text(
'Add Thesis',
),
),
),
],
),
),
Container(
height: 400, //height of TabBarView
decoration: BoxDecoration(
border: Border(
top: BorderSide(color: Colors.grey, width: 0.5))),
child: TabBarView(
children: [
Container(
child: RegisteredThesis(),
),
Container(
child: AddThesis(),
),
],
),
),
]),
),
]),
),
),
);