screen fixes 2

dev_v2.8_reverting
Elham Rababh 4 years ago
parent fbb029e320
commit 8eaf834734

@ -23,7 +23,7 @@ class AddVerifyMedicalReport extends StatefulWidget {
final String medicalNote;
const AddVerifyMedicalReport(
{Key key,
{Key? key,
this.patient,
this.patientType,
this.arrivalType,

@ -36,7 +36,7 @@ DrAppSharedPreferances sharedPref = new DrAppSharedPreferances();
class OperationReportScreen extends StatefulWidget {
final int visitType;
const OperationReportScreen({Key key, this.visitType}) : super(key: key);
const OperationReportScreen({Key? key, this.visitType}) : super(key: key);
@override
_ProgressNoteState createState() => _ProgressNoteState();

@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
class OutPatientPrescriptionDetailsItem extends StatefulWidget {
final PrescriptionReport prescriptionReport;
OutPatientPrescriptionDetailsItem({Key key, this.prescriptionReport});
OutPatientPrescriptionDetailsItem({Key? key, this.prescriptionReport});
@override
_OutPatientPrescriptionDetailsItemState createState() =>

@ -22,7 +22,7 @@ class RadiologyDetailsPage extends StatelessWidget {
final bool isInpatient;
RadiologyDetailsPage(
{Key key, this.finalRadiology, this.patient, this.patientType, this.arrivalType, this.isInpatient = false});
{Key? key, this.finalRadiology, this.patient, this.patientType, this.arrivalType, this.isInpatient = false});
@override
Widget build(BuildContext context) {

@ -30,7 +30,7 @@ class AddReplayOnReferralPatient extends StatefulWidget {
final bool isEdited;
const AddReplayOnReferralPatient(
{Key key,
{Key? key,
this.patientReferralViewModel,
this.myReferralInPatientModel,
this.isEdited,

@ -19,7 +19,7 @@ import 'package:flutter/material.dart';
class MyReferralDetailScreen extends StatelessWidget {
final MyReferralPatientModel? referralPatient;
const MyReferralDetailScreen({Key key, this.referralPatient})
const MyReferralDetailScreen({Key? key, this.referralPatient})
: super(key: key);
@override

@ -7,7 +7,7 @@ class SOAPOpenItems extends StatelessWidget {
final Function onTap;
final String label;
const SOAPOpenItems({Key key, this.onTap, this.label}) : super(key: key);
const SOAPOpenItems({Key? key, this.onTap, this.label}) : super(key: key);
@override
Widget build(BuildContext context) {
return InkWell(

@ -9,7 +9,7 @@ class BottomSheetDialogButton extends StatelessWidget {
double headerHeight = SizeConfig.heightMultiplier * 12;
BottomSheetDialogButton({Key key, this.onTap, this.label}) : super(key: key);
BottomSheetDialogButton({Key? key, this.onTap, this.label}) : super(key: key);
@override
Widget build(BuildContext context) {

@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
class BottomSheetTitle extends StatelessWidget with PreferredSizeWidget {
BottomSheetTitle({
Key key,
Key? key,
this.title,
}) : super(key: key);

@ -14,7 +14,7 @@ class ExpandableSOAPWidget extends StatelessWidget {
final bool isRequired;
const ExpandableSOAPWidget(
{Key key, this.isExpanded, this.child, this.onTap, this.headerTitle, this.isRequired= true})
{Key? key, this.isExpanded, this.child, this.onTap, this.headerTitle, this.isRequired= true})
: super(key: key);
@override

@ -10,7 +10,7 @@ class RemoveButton extends StatelessWidget {
final VoidCallback? onTap;
final String? label;
const RemoveButton({Key key, this.onTap, this.label}) : super(key: key);
const RemoveButton({Key? key, this.onTap, this.label}) : super(key: key);
@override
Widget build(BuildContext context) {

@ -17,7 +17,7 @@ import 'add_allergies.dart';
class UpdateAllergiesWidget extends StatefulWidget {
List<MySelectedAllergy> myAllergiesList;
UpdateAllergiesWidget({Key key, this.myAllergiesList});
UpdateAllergiesWidget({Key? key, this.myAllergiesList});
@override
_UpdateAllergiesWidgetState createState() => _UpdateAllergiesWidgetState();

@ -7,7 +7,7 @@ import '../medication/update_medication_widget.dart';
class UpdateChiefComplaints extends StatelessWidget {
const UpdateChiefComplaints({
Key key,
Key? key,
@required this.formKey,
@required this.complaintsController,
@required this.illnessController,

@ -9,7 +9,7 @@ class UpdateMedicationWidget extends StatefulWidget {
final TextEditingController medicationController;
UpdateMedicationWidget({
Key key,
Key? key,
this.medicationController,
});

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save