|
|
@ -112,18 +112,6 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
|
|
|
AppText(
|
|
|
|
|
|
|
|
'Dr. ${authProvider.doctorProfile.doctorName}',
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
fontSize:
|
|
|
|
|
|
|
|
SizeConfig.textMultiplier * 2.5,
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 4,
|
|
|
|
height: 4,
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -191,36 +179,12 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
|
|
|
color:
|
|
|
|
|
|
|
|
Theme.of(context).backgroundColor,
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
|
|
|
|
Radius.circular(10.0),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
height: 50,
|
|
|
|
|
|
|
|
width: 60,
|
|
|
|
|
|
|
|
child: Image.network(
|
|
|
|
|
|
|
|
authProvider
|
|
|
|
|
|
|
|
.doctorProfile.doctorImageURL,
|
|
|
|
|
|
|
|
// fit: BoxFit.fill,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
]),
|
|
|
|
]),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
height: this.isExpanded ? 150 : 90,
|
|
|
|
height: this.isExpanded ? 150 : 110,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -1102,8 +1066,6 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getSummaryResult(item) {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO Move to it file
|
|
|
|
// TODO Move to it file
|
|
|
|
class DashboardItem extends StatelessWidget {
|
|
|
|
class DashboardItem extends StatelessWidget {
|
|
|
|
const DashboardItem(
|
|
|
|
const DashboardItem(
|
|
|
|