added barrierDismissible: false, to the show dialog so it cant be clicked away
This commit is contained in:
parent
6176aed650
commit
65640133a8
3 changed files with 6 additions and 1 deletions
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue