TBarcodeScanner constructor
const
TBarcodeScanner({
- Key? key,
- required Widget child,
- void onScanned(
- BarcodeCapture capture
- TBarcodeScannerMode mode = TBarcodeScannerMode.autoClose,
- String? title,
- bool disabled = false,
- TPopupAlignment alignment = TPopupAlignment.bottomLeft,
- double offset = 8,
- VoidCallback? onShow,
- VoidCallback? onHide,
- double width = 350,
- double height = 350,
- 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)});