|
|
|
@ -77,7 +77,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
child:
|
|
|
|
child:
|
|
|
|
Image.asset('assets/images/DQ/DQ_logo.png'),
|
|
|
|
Image.asset('assets/images/DQ/logo_big.png'),
|
|
|
|
margin: EdgeInsets.all(
|
|
|
|
margin: EdgeInsets.all(
|
|
|
|
SizeConfig.imageSizeMultiplier * 4),
|
|
|
|
SizeConfig.imageSizeMultiplier * 4),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -95,7 +95,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
EdgeInsets.only(right: 0),
|
|
|
|
EdgeInsets.only(right: 0),
|
|
|
|
child: Icon(
|
|
|
|
child: Icon(
|
|
|
|
Icons.account_circle,
|
|
|
|
Icons.account_circle,
|
|
|
|
color: Color(0xFF40ACC9),
|
|
|
|
color: Color(0xFFc5272c),
|
|
|
|
size: 28,
|
|
|
|
size: 28,
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
@ -105,7 +105,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
user.firstName +
|
|
|
|
user.firstName +
|
|
|
|
' ' +
|
|
|
|
' ' +
|
|
|
|
user.lastName,
|
|
|
|
user.lastName,
|
|
|
|
color: Color(0xFF40ACC9),
|
|
|
|
color: Color(0xFFc5272c),
|
|
|
|
))
|
|
|
|
))
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -124,7 +124,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
": " +
|
|
|
|
": " +
|
|
|
|
user.patientID
|
|
|
|
user.patientID
|
|
|
|
.toString(),
|
|
|
|
.toString(),
|
|
|
|
color: Color(0xFF40ACC9),
|
|
|
|
color: Color(0xFFc5272c),
|
|
|
|
fontSize: SizeConfig
|
|
|
|
fontSize: SizeConfig
|
|
|
|
.textMultiplier *
|
|
|
|
.textMultiplier *
|
|
|
|
1.5,
|
|
|
|
1.5,
|
|
|
|
@ -161,8 +161,8 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
child: DrawerItem(
|
|
|
|
child: DrawerItem(
|
|
|
|
TranslationBase.of(context).family,
|
|
|
|
TranslationBase.of(context).family,
|
|
|
|
Icons.group,
|
|
|
|
Icons.group,
|
|
|
|
textColor: Color(0xFF40ACC9),
|
|
|
|
textColor: Color(0xFFc5272c),
|
|
|
|
iconColor: Color(0xFF40ACC9),
|
|
|
|
iconColor: Color(0xFFc5272c),
|
|
|
|
bottomLine: false,
|
|
|
|
bottomLine: false,
|
|
|
|
sideArrow: true,
|
|
|
|
sideArrow: true,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -225,7 +225,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
Icons
|
|
|
|
Icons
|
|
|
|
.account_circle,
|
|
|
|
.account_circle,
|
|
|
|
color: Color(
|
|
|
|
color: Color(
|
|
|
|
0xFF40ACC9),
|
|
|
|
0xFFc5272c),
|
|
|
|
size:
|
|
|
|
size:
|
|
|
|
24,
|
|
|
|
24,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -273,15 +273,15 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Icon(Icons.account_circle, color: result.responseID == user.patientID ? Color(0xFF40ACC9) : Colors.black),
|
|
|
|
child: Icon(Icons.account_circle, color: result.responseID == user.patientID ? Color(0xFFc5272c) : Colors.black),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
flex: 7,
|
|
|
|
flex: 7,
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.only(left: 5, right: 5),
|
|
|
|
padding: EdgeInsets.only(left: 5, right: 5),
|
|
|
|
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[
|
|
|
|
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[
|
|
|
|
AppText(result.patientName, color: result.responseID == user.patientID ? Color(0xFF40ACC9) : Colors.black),
|
|
|
|
AppText(result.patientName, color: result.responseID == user.patientID ? Color(0xFFc5272c) : Colors.black),
|
|
|
|
AppText(TranslationBase.of(context).fileno + ": " + result.responseID.toString(), color: result.responseID == user.patientID ? Color(0xFF40ACC9) : Colors.black),
|
|
|
|
AppText(TranslationBase.of(context).fileno + ": " + result.responseID.toString(), color: result.responseID == user.patientID ? Color(0xFFc5272c) : Colors.black),
|
|
|
|
]))),
|
|
|
|
]))),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
))))
|
|
|
|
))))
|
|
|
|
|