|
|
|
|
@ -122,6 +122,8 @@ class _CMDetailPageState extends State<CMDetailPage> {
|
|
|
|
|
if (isNurse)
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: 'qr'.toSvgAsset(height: 24, width: 24),
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
visualDensity: VisualDensity.compact,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
ServiceRequestBottomSheet.getQRCodeBottomSheet(context: context);
|
|
|
|
|
},
|
|
|
|
|
@ -173,11 +175,16 @@ class _CMDetailPageState extends State<CMDetailPage> {
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: "download".toSvgAsset(height: 24, width: 24, color: AppColor.icon2Color(context)),
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
visualDensity: VisualDensity.compact,
|
|
|
|
|
tooltip: "Export",
|
|
|
|
|
onPressed: _handlePrint,
|
|
|
|
|
),
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: const Icon(Icons.home),
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
iconSize: 20,
|
|
|
|
|
visualDensity: VisualDensity.compact,
|
|
|
|
|
tooltip:"Home",
|
|
|
|
|
onPressed: () {
|
|
|
|
|
// stopTimer();
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
|