update
This commit is contained in:
parent
41651ae447
commit
947c19c401
5 changed files with 53 additions and 49 deletions
|
|
@ -93,7 +93,11 @@ class _AddStockPageState extends State<AddStockPage> with WidgetsBindingObserver
|
|||
}
|
||||
|
||||
Future<void> _scanBarcode() async {
|
||||
_selectedMedicine = await barcodeScan(context);
|
||||
final medicine = await barcodeScan(context);
|
||||
|
||||
setState(() {
|
||||
_selectedMedicine = medicine;
|
||||
});
|
||||
}
|
||||
|
||||
Future<String> _getMedicineUsingBarcode(String name) async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue