Swood Barcode Scanner

How to use

  @override
  Widget build(BuildContext context) {
    return SwoodBarcodeScanner(
      onSuccess: (String value) async {
        // handle success
      },
      onError: () {
        // handle error
      },
    );
  }