|
|
|
@ -20,7 +20,7 @@ class DoctorProfilePage extends StatefulWidget {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
with SingleTickerProviderStateMixin {
|
|
|
|
with TickerProviderStateMixin {
|
|
|
|
TabController _tabController;
|
|
|
|
TabController _tabController;
|
|
|
|
final PatientDoctorAppointment patientDoctorAppointment;
|
|
|
|
final PatientDoctorAppointment patientDoctorAppointment;
|
|
|
|
|
|
|
|
|
|
|
|
@ -61,10 +61,9 @@ class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
width: 50,
|
|
|
|
width: 50,
|
|
|
|
height: 50,
|
|
|
|
height: 50,
|
|
|
|
decoration:
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
BoxDecoration(shape: BoxShape.circle,
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
color: Colors.grey
|
|
|
|
color: Colors.grey),
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Icon(
|
|
|
|
child: Icon(
|
|
|
|
Icons.calendar_view_day,
|
|
|
|
Icons.calendar_view_day,
|
|
|
|
size: 25,
|
|
|
|
size: 25,
|
|
|
|
@ -82,10 +81,9 @@ class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
width: 50,
|
|
|
|
width: 50,
|
|
|
|
height: 50,
|
|
|
|
height: 50,
|
|
|
|
decoration:
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
BoxDecoration(shape: BoxShape.circle,
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
color: Colors.grey
|
|
|
|
color: Colors.grey),
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Icon(
|
|
|
|
child: Icon(
|
|
|
|
Icons.format_list_bulleted,
|
|
|
|
Icons.format_list_bulleted,
|
|
|
|
size: 25,
|
|
|
|
size: 25,
|
|
|
|
@ -151,8 +149,7 @@ class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
indicatorWeight: 3.0,
|
|
|
|
indicatorWeight: 3.0,
|
|
|
|
tabs: [
|
|
|
|
tabs: [
|
|
|
|
Tab(
|
|
|
|
Tab(
|
|
|
|
child: Text(
|
|
|
|
child: Text('Doctor Information',
|
|
|
|
'Doctor Information',
|
|
|
|
|
|
|
|
style: TextStyle(color: Colors.black))),
|
|
|
|
style: TextStyle(color: Colors.black))),
|
|
|
|
Tab(
|
|
|
|
Tab(
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
@ -166,7 +163,12 @@ class _DoctorProfilePageState extends State<DoctorProfilePage>
|
|
|
|
height: MediaQuery.of(context).size.height * 0.8,
|
|
|
|
height: MediaQuery.of(context).size.height * 0.8,
|
|
|
|
child: TabBarView(
|
|
|
|
child: TabBarView(
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
children: [DoctorInformation(doctorProfile: model.doctorProfile,), Container()],
|
|
|
|
children: [
|
|
|
|
|
|
|
|
DoctorInformation(
|
|
|
|
|
|
|
|
doctorProfile: model.doctorProfile,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Container()
|
|
|
|
|
|
|
|
],
|
|
|
|
controller: _tabController,
|
|
|
|
controller: _tabController,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|