update design Radiology Screen and create Radiology Report Screen
parent
afefa0a035
commit
c7ad16cbcd
@ -0,0 +1,42 @@
|
|||||||
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
||||||
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
||||||
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class RadiologyReportScreen extends StatelessWidget {
|
||||||
|
final String reportData;
|
||||||
|
|
||||||
|
RadiologyReportScreen({Key key, this.reportData});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return AppScaffold(
|
||||||
|
appBarTitle: "Radiology Report",
|
||||||
|
showAppDrawer: false,
|
||||||
|
showBottomBar: false,
|
||||||
|
body: Container(
|
||||||
|
padding: EdgeInsets.all(10),
|
||||||
|
margin: EdgeInsets.all(10),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius:
|
||||||
|
BorderRadius.all(Radius.circular(10)),
|
||||||
|
color: Colors.white,
|
||||||
|
border: Border(
|
||||||
|
bottom: BorderSide(
|
||||||
|
color: Colors.grey, width: 0.5),
|
||||||
|
top: BorderSide(
|
||||||
|
color: Colors.grey, width: 0.5),
|
||||||
|
left: BorderSide(
|
||||||
|
color: Colors.grey, width: 0.5),
|
||||||
|
right: BorderSide(
|
||||||
|
color: Colors.grey, width: 0.5),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: AppText(reportData,
|
||||||
|
fontSize: 2.5 * SizeConfig.textMultiplier,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue