TBarcodeScanner constructor

const TBarcodeScanner({
  1. Key? key,
  2. required Widget child,
  3. void onScanned(
    1. BarcodeCapture capture
    )?,
  4. TBarcodeScannerMode mode = TBarcodeScannerMode.autoClose,
  5. String? title,
  6. bool disabled = false,
  7. TPopupAlignment alignment = TPopupAlignment.bottomLeft,
  8. double offset = 8,
  9. VoidCallback? onShow,
  10. VoidCallback? onHide,
  11. double width = 350,
  12. double height = 350,
  13. EdgeInsets padding = const EdgeInsets.all(12),
})

Implementation

const TBarcodeScanner(
    {super.key,
    required this.child,
    this.onScanned,
    this.mode = TBarcodeScannerMode.autoClose,
    this.title,
    this.disabled = false,
    this.alignment = TPopupAlignment.bottomLeft,
    this.offset = 8,
    this.onShow,
    this.onHide,
    this.width = 350,
    this.height = 350,
    this.padding = const EdgeInsets.all(12)});