add print preview arguments
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import 'dart:typed_data';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:patient_manager/mih_objects/app_user.dart';
|
import 'package:patient_manager/mih_objects/app_user.dart';
|
||||||
import 'package:patient_manager/mih_objects/business.dart';
|
import 'package:patient_manager/mih_objects/business.dart';
|
||||||
@@ -47,6 +49,16 @@ class FileViewArguments {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class PrintPreviewArguments {
|
||||||
|
final Uint8List pdfData;
|
||||||
|
final String fileName;
|
||||||
|
|
||||||
|
PrintPreviewArguments(
|
||||||
|
this.pdfData,
|
||||||
|
this.fileName,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
class PatientViewArguments {
|
class PatientViewArguments {
|
||||||
final AppUser signedInUser;
|
final AppUser signedInUser;
|
||||||
final Patient? selectedPatient;
|
final Patient? selectedPatient;
|
||||||
|
|||||||
Reference in New Issue
Block a user