|
|
|
|
@ -12,64 +12,78 @@ class KnownUserLogin extends StatelessWidget {
|
|
|
|
|
return Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Hexcolor('#CCCCCC'),
|
|
|
|
|
),
|
|
|
|
|
borderRadius: BorderRadius.circular(50)),
|
|
|
|
|
margin: const EdgeInsets.fromLTRB(0, 20.0, 30, 0),
|
|
|
|
|
child: Row(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
height: 100,
|
|
|
|
|
width: 100,
|
|
|
|
|
decoration: new BoxDecoration(
|
|
|
|
|
// color: Colors.green, // border color
|
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
|
border: Border.all(color: Hexcolor('#CCCCCC'))),
|
|
|
|
|
child: CircleAvatar(
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/dr_avatar.png',
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.symmetric(vertical: 3, horizontal: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(
|
|
|
|
|
'Dr. Elham',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Hexcolor('515A5D'),
|
|
|
|
|
fontSize: isSmallScreen
|
|
|
|
|
? 24
|
|
|
|
|
: constraints.maxWidth * 0.029,
|
|
|
|
|
fontWeight: FontWeight.w800),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'ENT Spec',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Hexcolor('515A5D'),
|
|
|
|
|
fontSize: isSmallScreen
|
|
|
|
|
? 20
|
|
|
|
|
: constraints.maxWidth * 0.025),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
Stack(children: [
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Hexcolor('#CCCCCC'),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
borderRadius: BorderRadius.circular(50)),
|
|
|
|
|
margin: const EdgeInsets.fromLTRB(0, 20.0, 30, 0),
|
|
|
|
|
child: Row(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
height: 100,
|
|
|
|
|
width: 100,
|
|
|
|
|
decoration: new BoxDecoration(
|
|
|
|
|
// color: Colors.green, // border color
|
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
|
border: Border.all(color: Hexcolor('#CCCCCC'))),
|
|
|
|
|
child: CircleAvatar(
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/dr_avatar.png',
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.symmetric(vertical: 3, horizontal: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(
|
|
|
|
|
'Dr. Elham',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Hexcolor('515A5D'),
|
|
|
|
|
fontSize: isSmallScreen
|
|
|
|
|
? 24
|
|
|
|
|
: constraints.maxWidth * 0.029,
|
|
|
|
|
fontWeight: FontWeight.w800),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'ENT Spec',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Hexcolor('515A5D'),
|
|
|
|
|
fontSize: isSmallScreen
|
|
|
|
|
? 20
|
|
|
|
|
: constraints.maxWidth * 0.025),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
// Container(
|
|
|
|
|
// child: Image.asset(
|
|
|
|
|
// 'assets/images/verification_fingerprint_lg_icon.png',
|
|
|
|
|
// fit: BoxFit.cover,
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
Positioned(top: 7, right: 70, child:Image.asset(
|
|
|
|
|
'assets/images/close_icon.png',
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
))
|
|
|
|
|
]),
|
|
|
|
|
Container(
|
|
|
|
|
height: 200,
|
|
|
|
|
width: 200,
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/verification_fingerprint_lg_icon.png',fit: BoxFit.cover,),
|
|
|
|
|
'assets/images/verification_fingerprint_lg_icon.png',
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
buildButtonsContainer(isSmallScreen, constraints, context)
|
|
|
|
|
],
|
|
|
|
|
|