add comment to patient profile
parent
70ba45d924
commit
12217d21ac
@ -0,0 +1,25 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import './Profile_general_info_Widget.dart';
|
||||||
|
import './profile_header_widget.dart';
|
||||||
|
import './profile_medical_info_widget.dart';
|
||||||
|
import './profile_status_info_widget.dart';
|
||||||
|
|
||||||
|
/*
|
||||||
|
*@author: Elham Rababah
|
||||||
|
*@Date:22/4/2020
|
||||||
|
*@param:
|
||||||
|
*@return:PatientProfileWidget
|
||||||
|
*@desc: Patient Profile Widget
|
||||||
|
*/
|
||||||
|
class PatientProfileWidget extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return ListView(padding: EdgeInsets.zero, children: <Widget>[
|
||||||
|
ProfileHeaderWidget(),
|
||||||
|
ProfileGeneralInfoWidget(),
|
||||||
|
ProfileMedicalInfoWidget(),
|
||||||
|
ProfileStatusInfoWidget()
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,35 +0,0 @@
|
|||||||
import 'package:flutter/material.dart';
|
|
||||||
import 'package:hexcolor/hexcolor.dart';
|
|
||||||
|
|
||||||
import './Profile_general_info_Widget.dart';
|
|
||||||
import './profile_medical_info_widget.dart';
|
|
||||||
import './profile_status_info_widget.dart';
|
|
||||||
import '../../../config/size_config.dart';
|
|
||||||
import '../../../widgets/shared/profile_image_widget.dart';
|
|
||||||
|
|
||||||
class PatientProfileWidget extends StatelessWidget {
|
|
||||||
@override
|
|
||||||
Widget build(BuildContext context) {
|
|
||||||
return ListView(padding: EdgeInsets.zero, children: <Widget>[
|
|
||||||
Container(
|
|
||||||
height: SizeConfig.heightMultiplier * 30,
|
|
||||||
child: ProfileImageWidget(
|
|
||||||
url:
|
|
||||||
"http://images4.fanpop.com/image/photos/16200000/David-Schwimmer-Ross-Geller-ross-geller-16258927-629-779.jpg",
|
|
||||||
name: "Fahad AlSlehm",
|
|
||||||
des: "324599",
|
|
||||||
height: SizeConfig.heightMultiplier * 17,
|
|
||||||
width: SizeConfig.heightMultiplier * 17,
|
|
||||||
color: Hexcolor('#58434F')),
|
|
||||||
),
|
|
||||||
ProfileGeneralInfoWidget(),
|
|
||||||
ProfileMedicalInfoWidget(),
|
|
||||||
ProfileStatusInfoWidget()
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:hexcolor/hexcolor.dart';
|
||||||
|
|
||||||
|
import '../../../config/size_config.dart';
|
||||||
|
import '../../shared/profile_image_widget.dart';
|
||||||
|
|
||||||
|
/*
|
||||||
|
*@author: Elham Rababah
|
||||||
|
*@Date:21/4/2020
|
||||||
|
*@param:
|
||||||
|
*@return:
|
||||||
|
*@desc: Profile Header Widget class
|
||||||
|
*/
|
||||||
|
class ProfileHeaderWidget extends StatelessWidget {
|
||||||
|
const ProfileHeaderWidget({
|
||||||
|
Key key,
|
||||||
|
}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Container(
|
||||||
|
height: SizeConfig.heightMultiplier * 30,
|
||||||
|
child: ProfileImageWidget(
|
||||||
|
url:
|
||||||
|
"http://images4.fanpop.com/image/photos/16200000/David-Schwimmer-Ross-Geller-ross-geller-16258927-629-779.jpg",
|
||||||
|
name: "Fahad AlSlehm",
|
||||||
|
des: "324599",
|
||||||
|
height: SizeConfig.heightMultiplier * 17,
|
||||||
|
width: SizeConfig.heightMultiplier * 17,
|
||||||
|
color: Hexcolor('#58434F')),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue