Merge branch 'master' of https://gitlab.com/Cloud_Solution/doctor_app_flutter into Amjad_search
commit
142e97e5d5
@ -0,0 +1,70 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../config/size_config.dart';
|
||||
import '../../../../models/patient/vital_sign_res_model.dart';
|
||||
import '../../../../widgets/patients/profile/profile_medical_info_widget.dart';
|
||||
import '../../../../widgets/shared/app_scaffold_widget.dart';
|
||||
import '../../../../widgets/shared/rounded_container_widget.dart';
|
||||
|
||||
class VitalSignDetailsScreen extends StatelessWidget {
|
||||
// VitalSignDetailsScreen({Key key, this.vitalSing}) : super(key: key);
|
||||
VitalSignResModel vitalSing;
|
||||
String url = "assets/images/";
|
||||
final double contWidth = SizeConfig.realScreenWidth * 0.70;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final routeArgs = ModalRoute.of(context).settings.arguments as Map;
|
||||
vitalSing = routeArgs['vitalSing'];
|
||||
return AppScaffold(
|
||||
appBarTitle: "vital Sing ",
|
||||
body: RoundedContainer(
|
||||
height: SizeConfig.realScreenHeight *0.7,
|
||||
child: CustomScrollView(
|
||||
primary: false,
|
||||
slivers: <Widget>[
|
||||
SliverPadding(
|
||||
padding: const EdgeInsets.all(10),
|
||||
sliver: SliverGrid.count(
|
||||
childAspectRatio: 0.7,
|
||||
crossAxisSpacing: 10,
|
||||
mainAxisSpacing: 0,
|
||||
crossAxisCount: 3,
|
||||
children: <Widget>[
|
||||
CircleAvatarWidget(
|
||||
des: 'Body Measurements',
|
||||
url: url + 'heartbeat.png',
|
||||
|
||||
), CircleAvatarWidget(
|
||||
des: 'Temperature',
|
||||
url: url + 'heartbeat.png',
|
||||
),
|
||||
CircleAvatarWidget(
|
||||
des: 'Pulse',
|
||||
url: url + 'heartbeat.png',
|
||||
|
||||
),
|
||||
CircleAvatarWidget(
|
||||
des: 'Respiration',
|
||||
url: url + 'heartbeat.png',
|
||||
),
|
||||
CircleAvatarWidget(
|
||||
des: 'Blood Pressure',
|
||||
url: url + 'heartbeat.png',
|
||||
),
|
||||
CircleAvatarWidget(
|
||||
des: 'Oxygenation',
|
||||
url: url + 'heartbeat.png',
|
||||
), CircleAvatarWidget(
|
||||
des: 'Pain Scale',
|
||||
url: url + 'heartbeat.png',
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
// height: 500,
|
||||
));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue