|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/models/list_gt_my_pationents_question_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/presentation/doctor_app_icons.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/helpers.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/large_avatar.dart';
|
|
|
|
|
@ -42,7 +43,28 @@ class _DoctorReplyWidgetState extends State<DoctorReplyWidget> {
|
|
|
|
|
child: Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
SizedBox(width: 5,),
|
|
|
|
|
LargeAvatar(name: widget.reply.patientName,url: '',),
|
|
|
|
|
//LargeAvatar(icon: widget.reply.gender == 0 ? DoctorApp.male : DoctorApp.femaleicon ,),
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
begin: Alignment(-1, -1),
|
|
|
|
|
end: Alignment(1, 1),
|
|
|
|
|
colors: [
|
|
|
|
|
Colors.grey[100],
|
|
|
|
|
Colors.grey[200],
|
|
|
|
|
]),
|
|
|
|
|
boxShadow: [
|
|
|
|
|
BoxShadow(
|
|
|
|
|
color: Color.fromRGBO(0, 0, 0, 0.08),
|
|
|
|
|
offset: Offset(0.0, 5.0),
|
|
|
|
|
blurRadius: 16.0)
|
|
|
|
|
],
|
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(50.0)),
|
|
|
|
|
),
|
|
|
|
|
width: 80,
|
|
|
|
|
height: 80,
|
|
|
|
|
child: Icon(widget.reply.gender == 1 ? DoctorApp.male : DoctorApp.femaleicon,size: 80,)),
|
|
|
|
|
|
|
|
|
|
SizedBox(width: 15,),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
|