|
|
@ -25,9 +25,9 @@ class _DoctorReplyWidgetState extends State<DoctorReplyWidget> {
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
child: CardWithBgWidget(
|
|
|
|
child: CardWithBgWidget(
|
|
|
|
bgColor:
|
|
|
|
bgColor:
|
|
|
|
widget.reply.status == 1
|
|
|
|
widget.reply.status == 2
|
|
|
|
? Color(0xffc4aa54)
|
|
|
|
? Color(0xFF2E303A)
|
|
|
|
: Colors.red[700],
|
|
|
|
: Color(0xFFD02127),
|
|
|
|
hasBorder: false,
|
|
|
|
hasBorder: false,
|
|
|
|
widget: Container(
|
|
|
|
widget: Container(
|
|
|
|
// padding: EdgeInsets.only(left: 20, right: 0, bottom: 0),
|
|
|
|
// padding: EdgeInsets.only(left: 20, right: 0, bottom: 0),
|
|
|
@ -45,15 +45,12 @@ class _DoctorReplyWidgetState extends State<DoctorReplyWidget> {
|
|
|
|
color: Colors.black),
|
|
|
|
color: Colors.black),
|
|
|
|
children: <TextSpan>[
|
|
|
|
children: <TextSpan>[
|
|
|
|
new TextSpan(
|
|
|
|
new TextSpan(
|
|
|
|
text: widget.reply.infoStatus!=null ? widget.reply.infoStatus :'',
|
|
|
|
text: widget.reply.status==2 ? TranslationBase.of(context).replied :TranslationBase.of(context).unReplied ,
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: widget.reply.status != null
|
|
|
|
color: widget.reply.status == 2
|
|
|
|
? widget.reply.status == 1
|
|
|
|
? Color(0xFF2E303A)
|
|
|
|
? Color(0xffc4aa54)
|
|
|
|
: Color(0xFFD02127),
|
|
|
|
: widget.reply.status == 2
|
|
|
|
|
|
|
|
? Colors.green[700]
|
|
|
|
|
|
|
|
: Colors.red[700]
|
|
|
|
|
|
|
|
: Colors.grey[500],
|
|
|
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontSize: 2.0 * SizeConfig.textMultiplier)),
|
|
|
|
fontSize: 2.0 * SizeConfig.textMultiplier)),
|
|
|
|