Erweiterungen
This commit is contained in:
1 parent
ba1f7d5440
commit
bb3dc9e856
28 files changed
+1672
-1291
No files matched your search
@@ -67,15 +67,16 @@ showZipPopup(BuildContext context, String text, String buttonText,
|
||||
const SizedBox(height: 20),
|
||||
getDefaultButton(
|
||||
buttonText,
|
||||
() => {
|
||||
if (_checkInput(context,
|
||||
textEditingController.text))
|
||||
{
|
||||
Navigator.of(context).pop(),
|
||||
onFinished(
|
||||
textEditingController.text)
|
||||
},
|
||||
}),
|
||||
() {
|
||||
if (_checkInput(context,
|
||||
textEditingController.text)) {
|
||||
final result = textEditingController.text;
|
||||
textEditingController.dispose();
|
||||
focusNode.dispose();
|
||||
Navigator.of(context).pop();
|
||||
onFinished(result);
|
||||
}
|
||||
}),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user