Erweiterungen
This commit is contained in:
1 parent
48eaa75014
commit
0399129dbd
9 files changed
+78
-57
No files matched your search
@@ -5,7 +5,7 @@ import 'package:kumi_popup_window/kumi_popup_window.dart';
|
||||
import 'package:stadtbote/model/task_info.dart';
|
||||
import 'package:stadtbote/tools/util.dart';
|
||||
|
||||
KumiPopupWindow showScanBarcodesPopup(BuildContext context, TaskInfo taskInfo, Function() onFinished) {
|
||||
KumiPopupWindow showScanBarcodesPopup(BuildContext context, TaskInfo taskInfo, Function(List<String> barcodes) onFinished) {
|
||||
return showPopupWindow(
|
||||
context,
|
||||
//childSize:Size(240, MediaQuery.of(context).size.width * 0.8),
|
||||
@@ -108,7 +108,7 @@ KumiPopupWindow showScanBarcodesPopup(BuildContext context, TaskInfo taskInfo, F
|
||||
scanBarcode()
|
||||
}),
|
||||
getDefaultButton('Übernehmen', buttonHeight: 50, () => {
|
||||
onFinished()
|
||||
onFinished(scannedBarcodes)
|
||||
})
|
||||
],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user