scanBarcode method
dynamic
scanBarcode(
- dynamic context,
- dynamic label
Implementation
scanBarcode(context, label) {
myLogAll('scanBarcode');
//_globalLastFocus = _mFocusNode;
//_globalLastID = _myDetailIDCurrent;
//if (isNull(_screenLists[gTakepic])) {
/*_screenLists[gScan] = {
0: {gItem: '{"$gType":"$gLabel","$gValue":"$label","$gFontSize":24.0}'},
1: {gItem: '{"$gType":"$gScan"}'}
};*/
_screenLists[gScan] = {
10: {
gItem: {gType: gLabel, gValue: label, gFontSize: 24.0}
},
/*20: {
gItem: {gType: '$gItem$gFocus', gFontSize: 24.0}
},*/
30: {
gItem: {gType: gScan}
}
};
//}
WidgetsFlutterBinding.ensureInitialized();
//late Future<void> initializeControllerFuture;
availableCameras().then((value) {
showMyDetail(_screenLists[gScan], context, null);
});
}