added barrierDismissible: false, to the show dialog so it cant be clicked away
This commit is contained in:
@@ -231,6 +231,7 @@ class _PatientFilesState extends State<PatientFiles> {
|
|||||||
void medCertPopUp() {
|
void medCertPopUp() {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: false,
|
||||||
builder: (context) => Dialog(
|
builder: (context) => Dialog(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
@@ -312,6 +313,7 @@ class _PatientFilesState extends State<PatientFiles> {
|
|||||||
void prescritionPopUp() {
|
void prescritionPopUp() {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: false,
|
||||||
builder: (context) => Dialog(
|
builder: (context) => Dialog(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
@@ -382,6 +384,7 @@ class _PatientFilesState extends State<PatientFiles> {
|
|||||||
void uploudFilePopUp() {
|
void uploudFilePopUp() {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: false,
|
||||||
builder: (context) => Dialog(
|
builder: (context) => Dialog(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -100,13 +100,14 @@ class _PatientNotesState extends State<PatientNotes> {
|
|||||||
void addNotePopUp() {
|
void addNotePopUp() {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: false,
|
||||||
builder: (context) => Dialog(
|
builder: (context) => Dialog(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.all(10.0),
|
padding: const EdgeInsets.all(10.0),
|
||||||
width: 700.0,
|
width: 700.0,
|
||||||
//height: 475.0,
|
//height: 500.0,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
borderRadius: BorderRadius.circular(25.0),
|
borderRadius: BorderRadius.circular(25.0),
|
||||||
|
|||||||
@@ -153,6 +153,7 @@ class _EditPatientState extends State<EditPatient> {
|
|||||||
void deletePatientPopUp() {
|
void deletePatientPopUp() {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: false,
|
||||||
builder: (context) => Dialog(
|
builder: (context) => Dialog(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user