fixing Dispose() errors

some widgets aren't loading and disposing properly
This commit is contained in:
Felix 2019-08-19 13:50:30 +01:00
parent 68a33c53e9
commit 05a57e8203
1 changed files with 7 additions and 5 deletions

View File

@ -106,9 +106,11 @@ class FindOrganisations {
builder: (BuildContext context) { builder: (BuildContext context) {
return StatefulBuilder( return StatefulBuilder(
builder: (context, setState) { builder: (context, setState) {
return AnimatedContainer( return
duration: Duration(seconds: 1), // AnimatedContainer(
child : SimpleDialog( // duration: Duration(seconds: 1),
// child :
SimpleDialog(
children: <Widget>[ children: <Widget>[
Column( Column(
children: [ children: [
@ -217,14 +219,14 @@ class FindOrganisations {
), ),
), ),
), ),
] : [ Container(), ], ] : [ Container() ],
), ),
// help button for if org not listed // help button for if org not listed
// cancel and ok buttons // cancel and ok buttons
], ],
), // ),
); );
}, },
); );