Hi Chaitanya,
To which module are you referring, Barcode scanner?
I'm quite sure that all existing widgets are aimed to scan a single barcode, as that use case is most common. Sorry to disappoint you.
Maybe, you could search for that feature in broader react libraries online and build your own widget, which is essentially wrap it such that Mendix can use it. Make sure you put it in the app store!
Good luck!
Johan