|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
//import 'package:doctor_app_flutter/client/base_app_client.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/model/procedure/get_ordered_procedure_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart';
|
|
|
|
|
@ -32,7 +33,7 @@ class ProcedureCard extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
width: double.maxFinite,
|
|
|
|
|
height: MediaQuery.of(context).size.height * .22,
|
|
|
|
|
//height: MediaQuery.of(context).size.height * .22,
|
|
|
|
|
margin: EdgeInsets.all(10),
|
|
|
|
|
padding: EdgeInsets.only(left: 0, right: 5, bottom: 5, top: 5),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
@ -129,33 +130,93 @@ class ProcedureCard extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: [
|
|
|
|
|
// AppText(
|
|
|
|
|
// TranslationBase.of(context).doctorName + ": ",
|
|
|
|
|
// //color: Colors.grey,
|
|
|
|
|
// fontSize: 12,
|
|
|
|
|
// color: Colors.grey,
|
|
|
|
|
// ),
|
|
|
|
|
// AppText(
|
|
|
|
|
// entityList.doctorName.toString(),
|
|
|
|
|
// fontSize: 12,
|
|
|
|
|
// bold: true,
|
|
|
|
|
// ),
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: [
|
|
|
|
|
// AppText(
|
|
|
|
|
// TranslationBase.of(context).clinic + ": ",
|
|
|
|
|
// //color: Colors.grey,
|
|
|
|
|
// fontSize: 12,
|
|
|
|
|
// color: Colors.grey,
|
|
|
|
|
// ),
|
|
|
|
|
// AppText(
|
|
|
|
|
// entityList.clinicDescription ?? "",
|
|
|
|
|
// bold: true,
|
|
|
|
|
// fontSize: 12,
|
|
|
|
|
// ),
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).doctorName + ": ",
|
|
|
|
|
//color: Colors.grey,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
entityList.doctorName.toString(),
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
bold: true,
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(left: 10, right: 0),
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/patient/ic_ref_arrow_left.png',
|
|
|
|
|
height: 50,
|
|
|
|
|
width: 30,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).clinic + ": ",
|
|
|
|
|
//color: Colors.grey,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 0, top: 25, right: 0, bottom: 0),
|
|
|
|
|
padding: EdgeInsets.only(left: 4.0, right: 4.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 40,
|
|
|
|
|
height: 40,
|
|
|
|
|
child: ClipRRect(
|
|
|
|
|
borderRadius: BorderRadius.circular(20.0),
|
|
|
|
|
child: Image.network(
|
|
|
|
|
'assets/images/male_avatar.png',
|
|
|
|
|
height: 25,
|
|
|
|
|
width: 30,
|
|
|
|
|
errorBuilder: (BuildContext context,
|
|
|
|
|
Object exception,
|
|
|
|
|
StackTrace stackTrace) {
|
|
|
|
|
return Text('No Image');
|
|
|
|
|
},
|
|
|
|
|
))),
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
entityList.clinicDescription ?? "",
|
|
|
|
|
bold: true,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 4,
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 10, top: 25, right: 10, bottom: 0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
entityList.doctorName,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.w800,
|
|
|
|
|
fontSize: 1.7 * SizeConfig.textMultiplier,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
),
|
|
|
|
|
if (entityList.clinicDescription != null)
|
|
|
|
|
AppText(
|
|
|
|
|
entityList.clinicDescription,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
fontSize: 1.4 * SizeConfig.textMultiplier,
|
|
|
|
|
color: Color(0XFF2E303A),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|