|
|
|
@ -45,10 +45,11 @@ class DoctorHeader extends StatelessWidget {
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
_speciality,
|
|
|
|
|
style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xff2E303A), letterSpacing: -0.48, height: 18 / 12),
|
|
|
|
|
),
|
|
|
|
|
if (_speciality.isNotEmpty)
|
|
|
|
|
Text(
|
|
|
|
|
_speciality,
|
|
|
|
|
style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xff2E303A), letterSpacing: -0.48, height: 18 / 12),
|
|
|
|
|
),
|
|
|
|
|
myRichText(TranslationBase.of(context).invoiceNo + ":", headerModel.invoiceNo),
|
|
|
|
|
myRichText(TranslationBase.of(context).branch, headerModel.projectName),
|
|
|
|
|
],
|
|
|
|
@ -66,10 +67,10 @@ class DoctorHeader extends StatelessWidget {
|
|
|
|
|
DateUtil.formatDateToTime(headerModel.orderDate),
|
|
|
|
|
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.48, height: 18 / 12),
|
|
|
|
|
),
|
|
|
|
|
// Padding(
|
|
|
|
|
// padding: const EdgeInsets.only(top: 8.0),
|
|
|
|
|
// child: Image.network(headerModel.nationalityFlagURL ?? "", height: 16),
|
|
|
|
|
// ),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.only(top: 8.0),
|
|
|
|
|
child: Image.network(headerModel.nationalityFlagURL ?? "", height: 16),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|